Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit62a4854

Browse files
committed
Support optimized transfer of internal basetypes
1 parent6f61722 commit62a4854

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎contrib/mmts/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;

‎contrib/mmts/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)

[8]ページ先頭

©2009-2025 Movatter.jp