@@ -6,7 +6,7 @@ author: jonels-msft
6
6
ms.service : cosmos-db
7
7
ms.subservice : postgresql
8
8
ms.topic : reference
9
- ms.date : 10/28 /2022
9
+ ms.date : 11/01 /2022
10
10
---
11
11
12
12
# Azure Cosmos DB for PostgreSQL functions
@@ -99,6 +99,19 @@ This function has the same interface and purpose as
99
99
[ create_distributed_function] ( #create_distributed_table ) , but doesn't block
100
100
writes during table distribution.
101
101
102
+ However, ` create_distributed_table_concurrently ` has a few limitations:
103
+
104
+ * You can't use the function in a transaction block, which means you can only
105
+ distribute one table at a time. (You * can* use the function on
106
+ time-partitioned tables, though.)
107
+ * You can't use ` create_distributed_table_concurrently ` when the table is
108
+ referenced by a foreign key, or references another local table. However,
109
+ foreign keys to reference tables work, and you can create foreign keys to other
110
+ distributed tables after table distribution completes.
111
+ * If you don't have a primary key or replica identity on your table, then
112
+ update and delete commands will fail during the table distribution due to
113
+ limitations on logical replication.
114
+
102
115
### truncate\_ local\_ data\_ after\_ distributing\_ table
103
116
104
117
Truncate all local rows after distributing a table, and prevent constraints
0 commit comments