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

Commit 676f407

Browse files
committed
reset DDLInProgress on start of decoding in case when decoding of previous transaction was interrupted by concurrent commit/abort and leaved inconsistent static variables
1 parent 74bdf2d commit 676f407

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pglogical_proto.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ pglogical_write_begin(StringInfo out, PGLogicalOutputData *data,
157157
MtmLastRelId = InvalidOid;
158158
MtmCurrentXid = txn->xid;
159159
MtmIsFilteredTxn = false;
160+
DDLInProgress = false;
160161

161162
pq_sendbyte(out, 'B'); /* BEGIN */
162163
pq_sendint(out, hooks_data->cfg->my_node_id, 4);

0 commit comments

Comments
 (0)