Re: Rollback on include error in psql

From: Viktor Shitkovskiy <hanksmail(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Rollback on include error in psql
Date: 2014-12-28 18:06:53
Message-ID: CAK7FUCxx8KHZ-nKb9RjB=S134kP2U8MjmNHLSUGo2Q13rY3Eyw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

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(dot)klaver(at)aklaver(dot)com
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Adrian Klaver 2014-12-28 20:47:20 Re: Rollback on include error in psql
Previous Message Viktor Shitkovskiy 2014-12-28 18:03:06 Re: Rollback on include error in psql

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-12-28 20:47:20 Re: Rollback on include error in psql
Previous Message Viktor Shitkovskiy 2014-12-28 18:03:06 Re: Rollback on include error in psql