Re: psql COPY vs. ON_ERROR_ROLLBACK, multi-command strings - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: psql COPY vs. ON_ERROR_ROLLBACK, multi-command strings
Date
Msg-id 1327526655-sup-2230@alvh.no-ip.org
Whole thread Raw
In response to psql COPY vs. ON_ERROR_ROLLBACK, multi-command strings  (Noah Misch <noah@leadboat.com>)
Responses Re: psql COPY vs. ON_ERROR_ROLLBACK, multi-command strings
List pgsql-hackers
Excerpts from Noah Misch's message of sáb ene 14 12:40:02 -0300 2012:
> It has bothered me that psql's \copy ignores the ON_ERROR_ROLLBACK setting.
> Only SendQuery() takes note of ON_ERROR_ROLLBACK, and \copy, like all
> backslash commands, does not route through SendQuery().  Looking into this
> turned up several other weaknesses in psql's handling of COPY.

Interesting.

Committed, thanks.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Marko Kreen
Date:
Subject: Re: GUC_REPORT for protocol tunables was: Re: Optimize binary serialization format of arrays with fixed size elements
Next
From: Robert Haas
Date:
Subject: Re: WIP patch for parameterized inner paths