Re: Parser abort ignoring following commands

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Parser abort ignoring following commands
Date: 2001-05-26 15:36:54
Message-ID: 22649.990891414@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-05-26 15:57:16 Re: Parser abort ignoring following commands
Previous Message Peter Eisentraut 2001-05-26 15:31:28 Re: Parser abort ignoring following commands