Thread: pgsql: Make sure we give an appropriate user-facing error when

pgsql: Make sure we give an appropriate user-facing error when

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Make sure we give an appropriate user-facing error when attempting
to drop a table that is referenced by an open cursor.  Fix unstable
ecpg regression test result that was produced by this oversight.

Modified Files:
--------------
    pgsql/src/backend/catalog:
        heap.c (r1.346 -> r1.347)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/heap.c?r1=1.346&r2=1.347)
    pgsql/src/interfaces/ecpg/test/expected:
        sql-fetch.stderr (r1.7 -> r1.8)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/sql-fetch.stderr?r1=1.7&r2=1.8)