]> 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)
commitaaa0f061936a443b02f187d5a1d4ce5f71c2dc67
tree0ca4c431eb1e16fad4827f6d6d0f8b1f703817f0
parent88d322a160e3e648406ffa692b0988c1b0fe2db8
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