FAQ
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

Search Discussions

  • Alvaro Herrera at Jul 18, 2004 at 3:06 am

    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)
  • Gaetano Mendola at Jul 21, 2004 at 3:15 am
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-hackers @
categoriespostgresql
postedJul 17, '04 at 11:07p
activeJul 21, '04 at 3:15a
posts3
users2
websitepostgresql.org...
irc#postgresql

2 users in discussion

Gaetano Mendola: 2 posts Alvaro Herrera: 1 post

People

Translate

site design / logo © 2021 Grokbase