why are my SELECTs in transaction?

From: Travis Hume <travis(dot)hume(at)tenzing(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: why are my SELECTs in transaction?
Date: 2003-06-18 18:02:15
Message-ID: 3EF0A927.7080000@tenzing.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Inflight=# select usename from pg_user;
usename
---------
fc
luser
ping
(3 rows)

Inflight=# select * from badtable;
ERROR: Relation "badtable" does not exist
Inflight=# select usename from pg_user;
ERROR: current transaction is aborted, queries ignored until end of
transaction block

So at this point all selects are screwed unless I issue a ROLLBACK;
Why? Is there a way for SELECTs (or all SQL) statement that fail to NOT
have this behaviour?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jonathan Bartlett 2003-06-18 18:07:12 Re: PostgreSQL alternative to "Oracle Real Application
Previous Message Ron Johnson 2003-06-18 18:01:53 Re: PostgreSQL alternative to "Oracle Real Application