aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSubplan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-02-07 01:33:06 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-02-07 01:33:06 +0000
commit3acf42231634513e8ba3b67d1ea7cb275d8e5fb3 (patch)
treeeb7135d4ee43b178d7c11c31c7421c731d09f5e7 /src/backend/executor/nodeSubplan.c
parent00f1a41ab253b2e05397d041ba29d21f386b7f01 (diff)
downloadpostgresql-3acf42231634513e8ba3b67d1ea7cb275d8e5fb3.tar.gz
postgresql-3acf42231634513e8ba3b67d1ea7cb275d8e5fb3.zip
Revise mechanism for getting rid of temp tables at backend shutdown.
Instead of grovelling through pg_class to find them, make use of the handy dandy dependency mechanism: just delete everything that depends on our temp schema. Unlike the pg_class scan, the dependency mechanism is smart enough to delete things in an order that doesn't fall foul of any dependency restrictions. Fixes problem reported by David Heggie: a temp table with a serial column may cause a backend FATAL exit at shutdown time, if it chances to try to delete the temp sequence first.
Diffstat (limited to 'src/backend/executor/nodeSubplan.c')
0 files changed, 0 insertions, 0 deletions