Re: pgsql: Add psql option: -1 or --single-transaction Simon Riggs - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Add psql option: -1 or --single-transaction Simon Riggs
Date
Msg-id 4502.1139864545@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Add psql option: -1 or --single-transaction Simon Riggs  (momjian@postgresql.org (Bruce Momjian))
Responses Re: pgsql: Add psql option: -1 or --single-transaction  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Re: pgsql: Add psql option: -1 or  (Simon Riggs <simon@2ndquadrant.com>)
Re: pgsql: Add psql option: -1 or  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-committers
Isn't this patch emitting the BEGIN at the wrong place?

--
-- PostgreSQL database dump
--

SET client_encoding = 'SQL_ASCII';
SET check_function_bodies = false;
SET client_min_messages = warning;

BEGIN;

--
-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres
--

COMMENT ON SCHEMA public IS 'Standard public schema';

That's not what I would call guaranteeing that all the commands execute
successfully.  What if the client encoding is unrecognized, for
instance?

            regards, tom lane

pgsql-committers by date:

Previous
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - be: Link against LIBS var to make Python happy.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Improve documentation of --single-transaction option: fix markup,