PG18 protocol version

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: PG18 protocol version
Date: 2025-06-26 06:56:08
Message-ID: 20250626.155608.568829483879866256.ishii@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In the PG18 docs, I see:
https://www.postgresql.org/docs/18/protocol-message-formats.html

StartupMessage (F)
:
Int32(196608)

The protocol version number. The most significant 16 bits are the
major version number (3 for the protocol described here). The
least significant 16 bits are the minor version number (0 for the
protocol described here).

In my understanding PG18 will support protocol version 3.2, but above
statement claims that the protocol minor version is 0. Initially I
thought this is because libpq will use 3.0 unless max_protocol_version
is specified as a connection string. But in the BackendKeyData section
of the doc, it clearly explains v3.2 format. So I suspect this is just
a typo.

Best regards,
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2025-06-26 07:01:56 Re: pg_logical_slot_get_changes waits continously for a partial WAL record spanning across 2 pages
Previous Message Andrei Lepikhov 2025-06-26 06:54:55 Re: Removing unneeded self joins