Re: Binary support for pgoutput plugin

Dave Cramer <davecramer@gmail.com>

From: Dave Cramer <davecramer@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Petr Jelinek <petr@2ndquadrant.com>, Alvaro Herrera <alvherre@2ndquadrant.com>, Michael Paquier <michael@paquier.xyz>, Dmitry Dolgov <9erthalion6@gmail.com>, Thomas Munro <thomas.munro@gmail.com>, Tomas Vondra <tomas.vondra@2ndquadrant.com>, Petr Jelinek <petr.jelinek@2ndquadrant.com>, Andres Freund <andres@anarazel.de>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-07-14T13:36:37Z
Lists: pgsql-hackers
On Tue, 14 Jul 2020 at 09:26, Daniel Gustafsson <daniel@yesql.se> wrote:

> > On 13 Jul 2020, at 15:11, Dave Cramer <davecramer@gmail.com> wrote:
>
> I took another look at the updated version today.  Since there now were
> some
> unused variables and (I believe) unnecessary checks (int size and
> endianness
> etc) left, I took the liberty to fix those.  I also fixed some markup in
> the
> catalog docs, did some minor tidying up and ran pgindent on it.
>
> The attached is a squash of the 4 patches in your email with the above
> fixes.
> I'm again marking it RfC since I believe all concerns raised so far has
> been
> addressed.
>
> > Added the test case that Daniel had created.
>
> Nope, still missing AFAICT =) But I've included it in the attached.
>
>
Thanks!

Dave


>

Commits

  1. Weaken type-OID-matching checks in array_recv and record_recv.

  2. Fix construction of updated-columns bitmap in logical replication.

  3. Allow logical replication to transfer data in binary format.

  4. Phase 2 pgindent run for v12.