fix bugs for logical replication
This commit is contained in:
@ -224,6 +224,7 @@ static void print_literal(StringInfo s, Oid typid, char* outputstr)
|
||||
const char* valptr = NULL;
|
||||
|
||||
switch (typid) {
|
||||
case INT1OID:
|
||||
case INT2OID:
|
||||
case INT4OID:
|
||||
case INT8OID:
|
||||
@ -351,6 +352,7 @@ static void pg_decode_change(
|
||||
MemoryContext old;
|
||||
|
||||
data = (TestDecodingData*)ctx->output_plugin_private;
|
||||
u_sess->attr.attr_common.extra_float_digits = 0;
|
||||
|
||||
/* output BEGIN if we haven't yet */
|
||||
if (data->skip_empty_xacts && !data->xact_wrote_changes) {
|
||||
|
Reference in New Issue
Block a user