v5-0005-Bump-protocol-version-to-3.1.patch
application/octet-stream
Filename: v5-0005-Bump-protocol-version-to-3.1.patch
Type: application/octet-stream
Part: 2
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch v5-0005
Subject: Bump protocol version to 3.1
| File | + | − |
|---|---|---|
| src/include/libpq/pqcomm.h | 1 | 2 |
From ce3b3f8a2ea41ccce21a96dedbc38f8828886d56 Mon Sep 17 00:00:00 2001 From: Jelte Fennema-Nio <jelte.fennema@microsoft.com> Date: Tue, 2 Jan 2024 11:19:54 +0100 Subject: [PATCH v5 5/9] Bump protocol version to 3.1 In preparation of new additions to the protocol in a follow up commit this bumps the minor protocol version number. --- src/include/libpq/pqcomm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h index 9703c6e9a45..ac1ee47412c 100644 --- a/src/include/libpq/pqcomm.h +++ b/src/include/libpq/pqcomm.h @@ -91,11 +91,10 @@ is_unixsock_path(const char *path) /* * The earliest and latest frontend/backend protocol version supported. - * (Only protocol version 3 is currently supported) */ #define PG_PROTOCOL_EARLIEST PG_PROTOCOL(3,0) -#define PG_PROTOCOL_LATEST PG_PROTOCOL(3,0) +#define PG_PROTOCOL_LATEST PG_PROTOCOL(3,1) typedef uint32 ProtocolVersion; /* FE/BE protocol version number */ -- 2.34.1