diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index c635b6570c1..42b02b0a00c 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -2191,6 +2191,7 @@ const char *PQparameterStatus(const PGconn *conn, const char *paramName); server_encoding, client_encoding, application_name, + default_transaction_read_only, in_hot_standby, is_superuser, session_authorization, @@ -2206,7 +2207,8 @@ const char *PQparameterStatus(const PGconn *conn, const char *paramName); IntervalStyle was not reported by releases before 8.4; application_name was not reported by releases before 9.0; - in_hot_standby was not reported by releases before + default_transaction_read_only and + in_hot_standby were not reported by releases before 14.) Note that server_version, diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index a51f2c9920b..43092fe62a6 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -1278,6 +1278,7 @@ SELCT 1/0; server_encoding, client_encoding, application_name, + default_transaction_read_only, in_hot_standby, is_superuser, session_authorization, @@ -1293,7 +1294,8 @@ SELCT 1/0; IntervalStyle was not reported by releases before 8.4; application_name was not reported by releases before 9.0; - in_hot_standby was not reported by releases before + default_transaction_read_only and + in_hot_standby were not reported by releases before 14.) Note that server_version, diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index d626731723b..7167cff7c33 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -1619,7 +1619,8 @@ static struct config_bool ConfigureNamesBool[] = { {"default_transaction_read_only", PGC_USERSET, CLIENT_CONN_STATEMENT, gettext_noop("Sets the default read-only status of new transactions."), - NULL + NULL, + GUC_REPORT }, &DefaultXactReadOnly, false,