Re: Set AUTOCOMMIT to on in script output by pg_dump - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Set AUTOCOMMIT to on in script output by pg_dump
Date
Msg-id 2328259.1737144670@sss.pgh.pa.us
Whole thread Raw
In response to Re: Set AUTOCOMMIT to on in script output by pg_dump  (Yugo Nagata <nagata@sraoss.co.jp>)
List pgsql-hackers
Robert Treat <rob@xzilla.net> writes:
> suggested diffs attached, let me know if you would like a consolidated patch

Sadly, the cfbot is now confused since it doesn't understand the idea
of an incremental patch.  Somebody please post a consolidated patch.

For myself, I'd suggest writing the examples with -X not --no-psqlrc.
-X is shorter, it's more likely to be what people would actually
type, and it's not jarringly inconsistent with the adjacent use
of -h and other short-form switches.  We can write the added
paragraphs like 

   It is generally recommended to use the <option>-X</option>
   (<option>--no-psqlrc</option>) option when restoring a database ...

to provide clarity about what the switch does.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Add some documentation on how to call internal functions
Next
From: Wolfgang Walther
Date:
Subject: Re: Fwd: Re: proposal: schema variables