pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: recommend "psql -X" for restoring pg_dump scripts.
Date: Sat, 25 Jan 2025 17:42:49 +0000
Message-ID: <E1tbkBE-003URP-WE@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d83a108c10a3ec886a24c620a915aa2c5bc023aa

Modified Files
--------------
doc/src/sgml/backup.sgml         | 22 ++++++++++++++--------
doc/src/sgml/ref/pg_dump.sgml    | 10 +++++++++-
doc/src/sgml/ref/pg_dumpall.sgml | 15 +++++++++++++--
3 files changed, 36 insertions(+), 11 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1tbkBE-003URP-WE@gemulon.postgresql.org>
Permalink:  ../E1tbkBE-003URP-WE@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tbkBE-003URP-WE@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Doc: recommend "psql -X" for restoring pg_dump scripts.
  In-Reply-To: <E1tbkBE-003URP-WE@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox