On Wed, Nov 18, 2015 at 5:49 PM, Catalin Iacob <iacobcata...@gmail.com> wrote: > On Tue, Nov 17, 2015 at 10:13 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: >> 1. -c no longer implies --no-psqlrc. That's a backwards incompatibility, >> but very easy to explain and very easy to work around. >> >> 2. You can have multiple -c and/or -f. Each -c is processed in >> the traditional way, ie, either it's a single backslash command >> or it's sent in a single PQexec. That doesn't seem to me to have >> much impact on the behavior of adjacent -c or -f. >> >> 3. If you combine -1 with -c and/or -f, you get one BEGIN inserted >> at the beginning and one COMMIT at the end. Nothing else changes.
> I'll try to write the documentation patch for these semantics sometime > next week. Attached is my attempt at a documentation patch, feedback welcome. I'm assuming Pavel will pick up the implementation, if not I could also try it.
Update-docs-for-repeated-c.patch
Description: binary/octet-stream
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers