I include my own scripts. Each of them creates some table or makes some changes to existing tables.
Yes, I want a complete rollback.
Where is the \include coming from?
What is in the tableX.cre files?
So if I am following you want a complete rollback on non-SQL or SQL errors, correct?
I'm using PostgreSQL 9.2.1.
P.S. Initially I asked this question at dba.stackexchange.com
<http://dba.stackexchange.com>:
http://dba.stackexchange.com/questions/87040/rollback-on-include-error-in-psql
--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx