summaryrefslogtreecommitdiffstats
path: root/doc/src/sgml/libpq.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/libpq.sgml')
-rw-r--r--doc/src/sgml/libpq.sgml42
1 files changed, 23 insertions, 19 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index f180186..b667fca 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -873,7 +873,7 @@ PQsslKeyPassHook_OpenSSL_type PQgetSSLKeyPassHook_OpenSSL(void);
connection parameters. There are two accepted formats for these strings:
plain keyword/value strings
and URIs. URIs generally follow
- <ulink url="https://tools.ietf.org/html/rfc3986">RFC
+ <ulink url="https://datatracker.ietf.org/doc/html/rfc3986">RFC
3986</ulink>, except that multi-host connection strings are allowed
as further described below.
</para>
@@ -958,7 +958,7 @@ postgresql:///mydb?host=localhost&amp;port=5433
<para>
The connection <acronym>URI</acronym> needs to be encoded with <ulink
- url="https://tools.ietf.org/html/rfc3986#section-2.1">percent-encoding</ulink>
+ url="https://datatracker.ietf.org/doc/html/rfc3986#section-2.1">percent-encoding</ulink>
if it includes symbols with special meaning in any of its parts. Here is
an example where the equal sign (<literal>=</literal>) is replaced with
<literal>%3D</literal> and the space character with
@@ -2509,20 +2509,23 @@ const char *PQparameterStatus(const PGconn *conn, const char *paramName);
</para>
<para>
- Parameters reported as of the current release include
- <varname>server_version</varname>,
- <varname>server_encoding</varname>,
- <varname>client_encoding</varname>,
- <varname>application_name</varname>,
- <varname>default_transaction_read_only</varname>,
- <varname>in_hot_standby</varname>,
- <varname>is_superuser</varname>,
- <varname>session_authorization</varname>,
- <varname>DateStyle</varname>,
- <varname>IntervalStyle</varname>,
- <varname>TimeZone</varname>,
- <varname>integer_datetimes</varname>, and
- <varname>standard_conforming_strings</varname>.
+ Parameters reported as of the current release include:
+ <simplelist type="vert" columns="2">
+ <member><varname>application_name</varname></member>
+ <member><varname>client_encoding</varname></member>
+ <member><varname>DateStyle</varname></member>
+ <member><varname>default_transaction_read_only</varname></member>
+ <member><varname>in_hot_standby</varname></member>
+ <member><varname>integer_datetimes</varname></member>
+ <member><varname>IntervalStyle</varname></member>
+ <member><varname>is_superuser</varname></member>
+ <member><varname>scram_iterations</varname></member>
+ <member><varname>server_encoding</varname></member>
+ <member><varname>server_version</varname></member>
+ <member><varname>session_authorization</varname></member>
+ <member><varname>standard_conforming_strings</varname></member>
+ <member><varname>TimeZone</varname></member>
+ </simplelist>
(<varname>server_encoding</varname>, <varname>TimeZone</varname>, and
<varname>integer_datetimes</varname> were not reported by releases before 8.0;
<varname>standard_conforming_strings</varname> was not reported by releases
@@ -2532,7 +2535,8 @@ const char *PQparameterStatus(const PGconn *conn, const char *paramName);
9.0;
<varname>default_transaction_read_only</varname> and
<varname>in_hot_standby</varname> were not reported by releases before
- 14.)
+ 14; <varname>scram_iterations</varname> was not reported by releases
+ before 16.)
Note that
<varname>server_version</varname>,
<varname>server_encoding</varname> and
@@ -8557,7 +8561,7 @@ user=admin
LDAP query will be performed. The result must be a list of
<literal>keyword = value</literal> pairs which will be used to set
connection options. The URL must conform to
- <ulink url="https://tools.ietf.org/html/rfc1959">RFC 1959</ulink>
+ <ulink url="https://datatracker.ietf.org/doc/html/rfc1959">RFC 1959</ulink>
and be of the form
<synopsis>
ldap://[<replaceable>hostname</replaceable>[:<replaceable>port</replaceable>]]/<replaceable>search_base</replaceable>?<replaceable>attribute</replaceable>?<replaceable>search_scope</replaceable>?<replaceable>filter</replaceable>
@@ -8701,7 +8705,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
<para>
For backward compatibility with earlier versions of PostgreSQL, the host
IP address is verified in a manner different
- from <ulink url="https://tools.ietf.org/html/rfc6125">RFC 6125</ulink>.
+ from <ulink url="https://datatracker.ietf.org/doc/html/rfc6125">RFC 6125</ulink>.
The host IP address is always matched against <literal>dNSName</literal>
SANs as well as <literal>iPAddress</literal> SANs, and can be matched
against the Common Name attribute if no relevant SANs exist.