]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Doc: recommend "psql -X" for restoring pg_dump scripts.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Jan 2025 17:42:05 +0000 (12:42 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Jan 2025 17:42:05 +0000 (12:42 -0500)
commit76601c0c885aca203966d8f6f6d6683726a0823b
tree4d4a0bf19d9daa913597be6672efaf82d3f89ee2
parent50cd651254354397ca2f2b795dd6aac300826076
Doc: recommend "psql -X" for restoring pg_dump scripts.

This practice avoids possible problems caused by non-default psql
options, such as disabling AUTOCOMMIT.

Author: Shinya Kato <Shinya11.Kato@oss.nttdata.com>
Reviewed-by: Robert Treat <rob@xzilla.net>
Discussion: https://postgr.es/m/96ff23a5d858ff72ca8e823a014d16fe@oss.nttdata.com
Backpatch-through: 13
doc/src/sgml/backup.sgml
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dumpall.sgml