From 0d06a7eac4b23cc7b8fd4568d8623a6023646f63 Mon Sep 17 00:00:00 2001 From: Tomas Vondra Date: Mon, 19 Aug 2024 19:46:05 +0200 Subject: [PATCH] Document that search_path is reported by the server Commit 28a1121fd912 marked search_path as GUC_REPORT, but failed to update the relevant places in docs. There are two places listing the GUC options reported to the client, so update both. Reported-by: Tom Lane Discussion: https://postgr.es/m/CAFh8B=k8s7WrcqhafmYhdN1+E5LVzZi_QaYDq8bKvrGJTAhY2Q@mail.gmail.com --- doc/src/sgml/libpq.sgml | 4 +++- doc/src/sgml/protocol.sgml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 068ee60771c..f916fce4142 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -2643,6 +2643,7 @@ const char *PQparameterStatus(const PGconn *conn, const char *paramName); IntervalStyle is_superuser scram_iterations + search_path server_encoding server_version session_authorization @@ -2652,7 +2653,8 @@ const char *PQparameterStatus(const PGconn *conn, const char *paramName); (default_transaction_read_only and in_hot_standby were not reported by releases before 14; scram_iterations was not reported by releases - before 16.) + before 16; search_path was not reported by releases + before 18.) Note that server_version, server_encoding and diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index 79cd5996926..11b64567797 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -1325,6 +1325,7 @@ SELCT 1/0; IntervalStyle is_superuser scram_iterations + search_path server_encoding server_version session_authorization @@ -1334,7 +1335,8 @@ SELCT 1/0; (default_transaction_read_only and in_hot_standby were not reported by releases before 14; scram_iterations was not reported by releases - before 16.) + before 16; search_path was not reported by releases + before 18.) Note that server_version, server_encoding and -- 2.30.2