Skip to content

Commit 483c2c1

Browse files
committed
Document the lack of reading the PGDATABASE environment variable in
pg_restore.
1 parent 088c065 commit 483c2c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/ref/pg_restore.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,8 @@
686686
<para>
687687
This utility, like most other <productname>PostgreSQL</> utilities,
688688
also uses the environment variables supported by <application>libpq</>
689-
(see <xref linkend="libpq-envars">).
689+
(see <xref linkend="libpq-envars">). However, it does not read
690+
<envar>PGDATABASE</envar> when a database name is not supplied.
690691
</para>
691692

692693
</refsect1>

0 commit comments

Comments
 (0)