OSDN Git Service

Make renaming a temp table behave sensibly. We don't need to touch
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 20 Jun 2000 06:41:13 +0000 (06:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 20 Jun 2000 06:41:13 +0000 (06:41 +0000)
commit9f1a22304695cf2b6ed4497b4e12af8bb40704de
tree235e069936422b49442e8dbc4936395d84291f8c
parent38db5fab29004edff2ee2eea51d72e04ab45870b
Make renaming a temp table behave sensibly.  We don't need to touch
the underlying table at all, just change the mapping entry ... but
that logic was missing.
src/backend/commands/rename.c
src/backend/utils/cache/temprel.c
src/include/utils/temprel.h