-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,
still experimenting NT:


kalman=# begin;
BEGIN
kalman=# select * from a;
ERROR:  relation "a" does not exist
kalman=# begin;
BEGIN
kalman=# select * from test;
ERROR:  current transaction is aborted, commands ignored until end of transaction block

I think the second begin shall fail instead of open an already invalid transaction.



Regards
Gaetano Mendola



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA+bEz7UpzwH2SGd4RAujVAJ4wBx64eSKwokcBUl/l3sJJV9LelwCcDf/Z
K/kv375ERUxwvY8tGUmhmYA=
=K8OT
-----END PGP SIGNATURE-----


Sun, 18 Jul 2004 01:07:32 +0200
Gaetano Mendola <mendola@bigfoot.com>
NT and aborted transaction
On Sun, Jul 18, 2004 at 01:07:32AM +0200, Gaetano Mendola wrote:

> kalman=# begin;
> BEGIN
> kalman=# select * from a;
> ERROR:  relation "a" does not exist
> kalman=# begin;
> BEGIN
> kalman=# select * from test;
> ERROR:  current transaction is aborted, commands ignored until end of 
> transaction block
> 
> I think the second begin shall fail instead of open an already invalid 
> transaction.

We are not gonna use "begin" for starting a subtransaction, so this is a
nonissue.  Please apply the savepoints patch and try again.

If you have current CVS tip you'll have for me to post a new patch, in
the next hour or so, because the code has drifted.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Ellos andaban todos desnudos como su madre los pariï¿½, y tambiï¿½n las mujeres,
aunque no vi mï¿½s que una, harto moza, y todos los que yo vi eran todos
mancebos, que ninguno vi de edad de mï¿½s de XXX aï¿½os" (Cristï¿½bal Colï¿½n)


Sat, 17 Jul 2004 23:06:07 -0400
Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: NT and aborted transaction