Re: Add new protocol message to change GUCs for usage with future protocol-only GUCs
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Jelte Fennema-Nio <me@jeltef.nl>, Tom Lane <tgl@sss.pgh.pa.us>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Dave Cramer <davecramer@gmail.com>
Date: 2024-04-10T10:35:52Z
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 →
-
libpq: Add min/max_protocol_version connection options
- 285613c60a7a 18.0 landed
-
libpq: Handle NegotiateProtocolVersion message differently
- 5070349102af 18.0 landed
-
Add PQfullProtocolVersion() to surface the precise protocol version.
- cdb6b0fdb0b2 18.0 landed
-
Do not hardcode PG_PROTOCOL_LATEST in NegotiateProtocolVersion
- 516b87502dc1 18.0 landed
-
libpq: Handle NegotiateProtocolVersion message
- bbf9c282ce92 16.0 cited
-
Provide for forward compatibility with future minor protocol versions.
- ae65f6066dc3 11.0 cited
On 05.04.24 14:55, Robert Haas wrote: > I also wonder how the protocol negotiation for column encryption is > actually going to work. What are the actual wire protocol changes that > are needed? What does the server need to know from the client, or the > client from the server, about what is supported? I have just posted an updated patch for that: [0] The protocol changes can be inspected in the diffs for doc/src/sgml/protocol.sgml src/backend/access/common/printtup.c src/interfaces/libpq/fe-protocol3.c There are various changes, including new messages, additional fields in existing messages, and some more flag bits in existing fields. It all works, so I don't have any requests or anything in this thread, but it would be good to get some feedback if I'm using this wrong. AFAICT, that patch was the first public one that ever tried to make use of the protocol extension facility, so I was mainly guessing about the intended way to use this. [0]: https://www.postgresql.org/message-id/f63fe170-cef2-4914-be00-ef9222456505%40eisentraut.org