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.)
Showing
- src/backend/catalog/heap.c 4 additions, 4 deletionssrc/backend/catalog/heap.c
- src/backend/catalog/index.c 3 additions, 3 deletionssrc/backend/catalog/index.c
- src/backend/commands/command.c 3 additions, 4 deletionssrc/backend/commands/command.c
- src/backend/commands/creatinh.c 10 additions, 5 deletionssrc/backend/commands/creatinh.c
- src/backend/commands/vacuum.c 3 additions, 3 deletionssrc/backend/commands/vacuum.c
- src/backend/utils/cache/relcache.c 2 additions, 2 deletionssrc/backend/utils/cache/relcache.c
- src/backend/utils/cache/temprel.c 14 additions, 6 deletionssrc/backend/utils/cache/temprel.c
- src/include/utils/temprel.h 3 additions, 1 deletionsrc/include/utils/temprel.h
Loading
Please register or sign in to comment