Make renaming a temp table behave sensibly. We don't need to touch

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 9f1a22304695cf2b6ed4497b4e12af8bb40704de
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-06-20T06:41:13Z
Releases: 7.1.1
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.

Files

PathChange+/−
src/backend/commands/rename.c modified +9 −1
src/backend/utils/cache/temprel.c modified +109 −25
src/include/utils/temprel.h modified +12 −7