Update RENAME_REL macro to work with 9.3. We now need to pass the
"is_internal" boolean to this function; for our purposes it should be acceptable to always pass true.
This commit is contained in:
parent
e9339f44ea
commit
c55c613e44
@ -90,8 +90,10 @@ static void RenameRelationInternal(Oid myrelid, const char *newrelname, Oid name
|
|||||||
*/
|
*/
|
||||||
#if PG_VERSION_NUM < 90200
|
#if PG_VERSION_NUM < 90200
|
||||||
#define RENAME_REL(relid, newrelname) RenameRelationInternal(relid, newrelname, PG_TOAST_NAMESPACE);
|
#define RENAME_REL(relid, newrelname) RenameRelationInternal(relid, newrelname, PG_TOAST_NAMESPACE);
|
||||||
#else
|
#elif PG_VERSION_NUM < 90300
|
||||||
#define RENAME_REL(relid, newrelname) RenameRelationInternal(relid, newrelname);
|
#define RENAME_REL(relid, newrelname) RenameRelationInternal(relid, newrelname);
|
||||||
|
#else
|
||||||
|
#define RENAME_REL(relid, newrelname) RenameRelationInternal(relid, newrelname, true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef REPACK_VERSION
|
#ifdef REPACK_VERSION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user