@@ -179,7 +179,7 @@ func NetworkAddress(host string, port uint16) (network, address string) {
179179//
180180// ParseConfig supports specifying multiple hosts in similar manner to libpq. Host and port may include comma separated
181181// values that will be tried in order. This can be used as part of a high availability system. See
182- // https://www.postgresql.org/docs/11 /libpq-connect.html#LIBPQ-MULTIPLE-HOSTS for more information.
182+ // https://www.postgresql.org/docs/current /libpq-connect.html#LIBPQ-MULTIPLE-HOSTS for more information.
183183//
184184// # Example URL
185185// postgres://jack:secret@foo.example.com:5432,bar.example.com:5432/mydb
@@ -206,17 +206,17 @@ func NetworkAddress(host string, port uint16) (network, address string) {
206206// PGTARGETSESSIONATTRS
207207// PGTZ
208208//
209- // See http://www.postgresql.org/docs/11 /static/libpq-envars.html for details on the meaning of environment variables.
209+ // See http://www.postgresql.org/docs/current /static/libpq-envars.html for details on the meaning of environment variables.
210210//
211- // See https://www.postgresql.org/docs/11 /libpq-connect.html#LIBPQ-PARAMKEYWORDS for parameter key word names. They are
211+ // See https://www.postgresql.org/docs/current /libpq-connect.html#LIBPQ-PARAMKEYWORDS for parameter key word names. They are
212212// usually but not always the environment variable name downcased and without the "PG" prefix.
213213//
214214// Important Security Notes:
215215//
216216// ParseConfig tries to match libpq behavior with regard to PGSSLMODE. This includes defaulting to "prefer" behavior if
217217// not set.
218218//
219- // See http://www.postgresql.org/docs/11 /static/libpq-ssl.html#LIBPQ-SSL-PROTECTION for details on what level of
219+ // See http://www.postgresql.org/docs/current /static/libpq-ssl.html#LIBPQ-SSL-PROTECTION for details on what level of
220220// security each sslmode provides.
221221//
222222// The sslmode "prefer" (the default), sslmode "allow", and multiple hosts are implemented via the Fallbacks field of
@@ -713,7 +713,7 @@ func configTLS(settings map[string]string, thisHost string, parseConfigOptions P
713713 // According to PostgreSQL documentation, if a root CA file exists,
714714 // the behavior of sslmode=require should be the same as that of verify-ca
715715 //
716- // See https://www.postgresql.org/docs/12 /libpq-ssl.html
716+ // See https://www.postgresql.org/docs/current /libpq-ssl.html
717717 if sslrootcert != "" {
718718 goto nextCase
719719 }
0 commit comments