Make sure we give an appropriate user-facing error when attempting
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/heap.c | modified | +12 −1 |
| src/interfaces/ecpg/test/expected/sql-fetch.stderr | modified | +4 −4 |