Re: Parser abort ignoring following commands - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Parser abort ignoring following commands
Date
Msg-id 22649.990891414@sss.pgh.pa.us
Whole thread Raw
In response to Re: Parser abort ignoring following commands  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Parser abort ignoring following commands
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> No, I think there is another problem.  How about something without
> selects:

> $ psql -c 'delete from pk; delete from xx;'
> ERROR:  Relation 'xx' does not exist

> "pk" exists, but nothing is deleted.

Sure, because the transaction is rolled back.  The whole string
is executed in one transaction.  You will definitely break existing
applications if you change that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Parser abort ignoring following commands
Next
From: Peter Eisentraut
Date:
Subject: Re: Parser abort ignoring following commands