Content-Length: 282525 | pFad | http://github.com/postgrespro/postgres_cluster/commit/d94c9cfbd21d70e590328ef30ec5f03ff445d49b

AE Support optimized transfer of internal basetypes · postgrespro/postgres_cluster@d94c9cf · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/d94c9cfbd21d70e590328ef30ec5f03ff445d49b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy