pgsql/src/backend/commands (rename.c)

Started by Tom Laneover 26 years ago1 messagescommitters
Jump to latest
#1Tom Lane
tom_lane___@unknown.user

Date: Thursday, May 25, 2000 @ 17:30:20
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/commands
from hub.org:/home/projects/pgsql/tmp/cvs-serv32982

Modified Files:
rename.c

----------------------------- Log Message -----------------------------

Do table renaming in a sane order: physical file rename must happen
*last*, after all updating of system catalogs. In old code, an error
detected during TypeRename left the relation hosed. Also, add a call
to flush the relation's relcache entry, rather than trusting to shared
cache invalidation to flush it for us.