mirror of https://github.com/citusdata/citus.git
Update GetRelationIdentityOrPK to include deferred_ok parameter for PG18 compatibility
parent
b4ec0292ea
commit
44821f1264
|
@ -748,7 +748,7 @@ GetRelationIdentityOrPK(Relation rel)
|
|||
{
|
||||
/* Determine the index OID of the primary key (PG18 adds a second parameter) */
|
||||
#if PG_VERSION_NUM >= PG_VERSION_18
|
||||
idxoid = RelationGetPrimaryKeyIndex(rel, false);
|
||||
idxoid = RelationGetPrimaryKeyIndex(rel, false /* deferred_ok */);
|
||||
#else
|
||||
idxoid = RelationGetPrimaryKeyIndex(rel);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue