pgsql: - During dblink_open, if transaction state was IDLE, force cursor - Mailing list pgsql-committers

From joe@postgresql.org (Joe Conway)
Subject pgsql: - During dblink_open, if transaction state was IDLE, force cursor
Date
Msg-id 20060621164311.D942A9FA65C@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
- During dblink_open, if transaction state was IDLE, force cursor count to
  initially be 0. This is needed as a previous ABORT might have wiped out
  an automatically opened transaction without maintaining the cursor count.
- Fix regression test expected file for the correct ERROR message, which
  we now get given the above bug fix.

Modified Files:
--------------
    pgsql/contrib/dblink:
        dblink.c (r1.55 -> r1.56)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c.diff?r1=1.55&r2=1.56)
    pgsql/contrib/dblink/expected:
        dblink.out (r1.16 -> r1.17)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/expected/dblink.out.diff?r1=1.16&r2=1.17)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Clean up psql variable code a little: eliminate unnecessary tests
Next
From: joe@postgresql.org (Joe Conway)
Date:
Subject: pgsql: - During dblink_open, if transaction state was IDLE, force cursor