Skip to content

Commit d94c9cf

Browse files
knizhnikkelvich
authored andcommitted
Support optimized transfer of internal basetypes
1 parent a9cfb04 commit d94c9cf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pglogical_output.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ pg_decode_startup(LogicalDecodingContext * ctx, OutputPluginOptions *opt,
187187
ALLOCSET_DEFAULT_MINSIZE,
188188
ALLOCSET_DEFAULT_INITSIZE,
189189
ALLOCSET_DEFAULT_MAXSIZE);
190-
data->allow_internal_basetypes = false;
191-
data->allow_binary_basetypes = false;
190+
data->allow_internal_basetypes = true;
191+
data->allow_binary_basetypes = true;
192192

193193

194194
ctx->output_plugin_private = data;

pglogical_proto.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ pglogical_write_tuple(StringInfo out, PGLogicalOutputData *data,
476476
transfer_type = decide_datum_transfer(att, typclass,
477477
data->allow_internal_basetypes,
478478
data->allow_binary_basetypes);
479+
479480
pq_sendbyte(out, transfer_type);
480481
switch (transfer_type)
481482
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy