PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID16206
PG Version12.1
Opened2020-01-15 08:35:08+00
Reported byJoachim Jablon

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      16206
Logged by:          Joachim Jablon
Email address:      (redacted)
PostgreSQL version: 12.1
Operating system:   All

Documentation for PGDATABASE says:

>  PGDATABASE behaves the same as the dbname connection parameter.

Documentation for dbname says:

> The database name. Defaults to be the same as the user name. In certain
contexts, the value is checked for extended formats; see Section 33.1.1 for
more details on those.

But PGDATABASE is not checked for extended formats. This should be
explicitly said in the documentation. I believe a simple sentence like:

>  PGDATABASE behaves the same as the dbname connection parameter but the
value is not checked for extended format.

might be enough.


2020-01-15 08:35:08+00PG Bug reporting formBUG #16206: Documentation for PGDATABASE libpq env var is misleading