Make renamerel take an OID, not a RangeVar, to identify the relation

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

Commit: d51675169ff48ad0c964b68e5057600595f649d2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-03-31T07:49:30Z
Releases: 7.3.1
Make renamerel take an OID, not a RangeVar, to identify the relation
to rename.  Avoids some corner-case bugs in cluster.c, improves
consistency with renameatt.

Files

PathChange+/−
src/backend/commands/cluster.c modified +22 −26
src/backend/commands/rename.c modified +32 −39
src/backend/tcop/utility.c modified +4 −16
src/include/commands/rename.h modified +4 −4