Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c989e6a

Browse files
committed
Avoid replica identity check for mm publication
1 parent 6ea8da6 commit c989e6a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/multimaster.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,9 @@ mtm_after_node_create(PG_FUNCTION_ARGS)
854854
pub_stmt->pubname = MULTIMASTER_NAME;
855855
pub_stmt->for_all_tables = true;
856856
pub_stmt->tables = NIL;
857-
pub_stmt->options = NIL;
857+
pub_stmt->options = list_make1(
858+
makeDefElem("publish", (Node *) makeString(pstrdup("insert, truncate")), -1)
859+
);
858860
CreatePublication(pub_stmt);
859861

860862
/* liftoff */

0 commit comments

Comments
 (0)