In 8.0 beta 1 I just tried:
psql template1 > begin; > select * from pg_class; ... got stuff ... > select * from aaa; ERROR:
relation"zzz" does not exist > select * from pg_class; ERROR: current transaction is aborted....
Should psql run every statement in a nested transaction and only rollback
that TX? Or is that not possible/desirable. If possible, this would be a
*great* feature for those of use prone to mis-spellings.
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \| | --________--
PGP key available upon request, | /
and from pgp.mit.edu:11371 |/