OSDN Git Service

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)
commit90f42847b5ed5ed94a1221695e803d522db257b4
treec6f4914e38a84556f93b6e9b3e44b601170fc911
parent7558da669f0cd5144e87f660e0a3422f61806487
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