Small cleanup of temp-table handling. Disallow creation of a non-temp
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Dec 2000 23:12:07 +0000 (23:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Dec 2000 23:12:07 +0000 (23:12 +0000)
commitc74eb6add12ab76c07e2e18c35d52e2709364ff4
treec882d71de14d412c096b216e6c497810a6acc5c0
parentcf8829d05bd3fda19d7df068ab9c4ad90918a0ec
Small cleanup of temp-table handling.  Disallow creation of a non-temp
table that inherits from a temp table.  Make sure the right things happen
if one creates a temp table, creates another temp that inherits from it,
then renames the first one.  (Previously, system would end up trying to
delete the temp tables in the wrong order.)
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/commands/command.c
src/backend/commands/creatinh.c
src/backend/commands/vacuum.c
src/backend/utils/cache/relcache.c
src/backend/utils/cache/temprel.c
src/include/utils/temprel.h