@@ -93,17 +93,17 @@ pglogical_json_write_commit(StringInfo out, PGLogicalOutputData *data, ReorderBu
93
93
if (txn -> xact_action == XLOG_XACT_PREPARE )
94
94
{
95
95
appendStringInfoString (out , "\"action\":\"P\"" );
96
- appendStringInfo (out , ", \"gid\":\"%s\"" , txn -> gid ); /* NB: Add \0 at the end, if we are using all 200 bytes in GID */
96
+ appendStringInfo (out , ", \"gid\":\"%s\"" , txn -> gid );
97
97
}
98
98
else if (txn -> xact_action == XLOG_XACT_COMMIT_PREPARED )
99
99
{
100
100
appendStringInfoString (out , "\"action\":\"CP\"" );
101
- appendStringInfo (out , ", \"gid\":\"%s\"" , txn -> gid ); /* NB: Add \0 at the end, if we are using all 200 bytes in GID */
101
+ appendStringInfo (out , ", \"gid\":\"%s\"" , txn -> gid );
102
102
}
103
103
else if (txn -> xact_action == XLOG_XACT_ABORT_PREPARED )
104
104
{
105
105
appendStringInfoString (out , "\"action\":\"AP\"" );
106
- appendStringInfo (out , ", \"gid\":\"%s\"" , txn -> gid ); /* NB: Add \0 at the end, if we are using all 200 bytes in GID */
106
+ appendStringInfo (out , ", \"gid\":\"%s\"" , txn -> gid );
107
107
}
108
108
else if (txn -> xact_action == XLOG_XACT_COMMIT )
109
109
{
0 commit comments