Make renamerel take an OID, not a RangeVar, to identify the relation
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |