Re: Binary support for pgoutput plugin
Dave Cramer <davecramer@gmail.com>
From: Dave Cramer <davecramer@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Petr Jelinek <petr.jelinek@2ndquadrant.com>,
David Fetter <david@fetter.org>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2019-06-05T23:05:05Z
Lists: pgsql-hackers
Hi, On Wed, 5 Jun 2019 at 18:50, Andres Freund <andres@anarazel.de> wrote: > Hi, > > On 2019-06-05 18:47:57 -0400, Dave Cramer wrote: > > So one of the things they would like added is to get not null information > > in the schema record. This is so they can mark the field Optional in > Java. > > I presume this would also have some uses in other languages. As I > > understand it this would require a protocol bump. If this were to be > > accepted are there any outstanding asks that would useful to add if we > were > > going to bump the protocol? > > I'm pretty strongly opposed to this. What's the limiting factor when > adding such information? I think clients that want something like this > ought to query the database for catalog information when getting schema > information. > I'm not intimately familiar with their code. I will query them more about the ask. I am curious why you are "strongly" opposed however. We already have the information. Adding doesn't seem onerous. Dave
Commits
-
Weaken type-OID-matching checks in array_recv and record_recv.
- 670c0a1d474b 14.0 landed
-
Fix construction of updated-columns bitmap in logical replication.
- e8de627a3e05 11.9 landed
- d5daae47db5e 14.0 landed
- 71e561bd4bc2 12.4 landed
- 39d6aec1927c 10.14 landed
- 2f1f189cf880 13.0 landed
-
Allow logical replication to transfer data in binary format.
- 9de77b545313 14.0 landed
-
Phase 2 pgindent run for v12.
- 8255c7a5eeba 12.0 cited