Re: Allow logical replication to copy tables in binary format
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: Melih Mutlu <m.melihmutlu@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>,
Peter Smith <smithpb2250@gmail.com>, "shiy.fnst@fujitsu.com" <shiy.fnst@fujitsu.com>,
Euler Taveira <euler@eulerto.com>, Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>, Dilip Kumar <dilipbalaut@gmail.com>, "osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-03-18T09:03:27Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Allow logical replication to copy tables in binary format.
- ecb696527c01 16.0 landed
-
Common function for percent placeholder replacement
- c96de2ce1782 16.0 cited
-
Doc: add XML ID attributes to <sectN> and <varlistentry> tags.
- 78ee60ed84bb 16.0 cited
-
Re-order disable_on_error in tab-complete.
- d547f7cf5efc 16.0 cited
-
Make subscription tests pass with log_error_verbosity=verbose
- 19408aae7fa2 15.0 cited
-
Weaken type-OID-matching checks in array_recv and record_recv.
- 670c0a1d474b 14.0 cited
-
Allow logical replication to transfer data in binary format.
- 9de77b545313 14.0 cited
Attachments
- pgperltidy_run.patch (text/x-patch) patch
On Fri, 17 Mar 2023 at 17:55, Melih Mutlu <m.melihmutlu@gmail.com> wrote: > > Hi, > > Sharing v17. > > Amit Kapila <amit.kapila16@gmail.com>, 17 Mar 2023 Cum, 03:02 tarihinde şunu yazdı: >> >> I think to reduce the risk of breakage, let's change the check to >> >=v16. Also, accordingly, update the doc and commit message. > > > Done. > > Peter Smith <smithpb2250@gmail.com>, 17 Mar 2023 Cum, 04:58 tarihinde şunu yazdı: >> >> IMO the sentence "However, logical replication in binary format is >> more restrictive." should just be plain text. > > > Done. > > shiy.fnst@fujitsu.com <shiy.fnst@fujitsu.com>, 17 Mar 2023 Cum, 05:26 tarihinde şunu yazdı: >> >> It looks that you forgot to pass `offset` into wait_for_log(). > > > Yes, I somehow didn't include those lines into the patch. Thanks for noticing. Fixed them now. Thanks for the updated patch, few comments: 1) Currently we refer the link to the beginning of create subscription page, this can be changed to refer to binary option contents in create subscription: + <para> + See the <literal>binary</literal> option of + <link linkend="sql-createsubscription"><command>CREATE SUBSCRIPTION</command></link> + for details about copying pre-existing data in binary format. + </para> 2) Running pgperltidy shows the test script 014_binary.pl could be slightly improved as in the attachment. Regards, Vignesh