Thread: pgsql: - During dblink_open, if transaction state was IDLE, force cursor

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

From
joe@postgresql.org (Joe Conway)
Date:
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)