Re: [BUGS] psql \i command with a missing file name doesn't rollback the transaction

2013-10-02 Thread Bruce Momjian
On Fri, Sep 20, 2013 at 11:15:01AM +0200, Alexey Klyukin wrote: > Hi, > > We've discovered a surprising behavior of psql \i command. What we sometimes > to > add new tables to the database is: > > begin; > \i /path/to/table/definitions/table1.sql > \i /path/to/table/definitions/table2.sql > ...

[BUGS] psql \i command with a missing file name doesn't rollback the transaction

2013-09-20 Thread Alexey Klyukin
Hi, We've discovered a surprising behavior of psql \i command. What we sometimes to add new tables to the database is: begin; \i /path/to/table/definitions/table1.sql \i /path/to/table/definitions/table2.sql ... \i /path/to/table/definitions/tableN.sql commit; What we discovered that some files