Re: Rollback on include error in psql - Mailing list pgsql-general

From Viktor Shitkovskiy
Subject Re: Rollback on include error in psql
Date
Msg-id CAK7FUCwa4++RzW7y0chFm+0tdZS4dzgwE8GWhfjStooqatmfeA@mail.gmail.com
Whole thread Raw
In response to Re: Rollback on include error in psql  (David G Johnston <david.g.johnston@gmail.com>)
List pgsql-general
So should I report a bug somewhere?

As a workaround I'm currently using a wrapper bash script that parses the source psql script and checks if the 'include' and 'copy-from' files do really exist.


On Mon, Dec 29, 2014 at 4:04 AM, David G Johnston <david.g.johnston@gmail.com> wrote:
I would suggest an enhancement whereby psql will send a guaranteed-to-fail
command to the server upon failing to find an included file - at least in
non-interactive mode; in interactive mode the warning is likely sufficient
though the interplay with auto-commit would be concerning.


--
View this message in context: http://postgresql.nabble.com/Rollback-on-include-error-in-psql-tp5832192p5832233.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: David G Johnston
Date:
Subject: Re: Rollback on include error in psql
Next
From: Kevin Grittner
Date:
Subject: Re: help troubleshooting invalid page header error