diff options
Diffstat (limited to 'src/backend/commands/opclasscmds.c')
-rw-r--r-- | src/backend/commands/opclasscmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/opclasscmds.c b/src/backend/commands/opclasscmds.c index f2d78ef6632..3140b37234c 100644 --- a/src/backend/commands/opclasscmds.c +++ b/src/backend/commands/opclasscmds.c @@ -614,7 +614,7 @@ DefineOpClass(CreateOpClassStmt *stmt) ObjectIdGetDatum(amoid)); scan = systable_beginscan(rel, OpclassAmNameNspIndexId, true, - SnapshotNow, 1, skey); + NULL, 1, skey); while (HeapTupleIsValid(tup = systable_getnext(scan))) { @@ -1622,7 +1622,7 @@ RemoveAmOpEntryById(Oid entryOid) rel = heap_open(AccessMethodOperatorRelationId, RowExclusiveLock); scan = systable_beginscan(rel, AccessMethodOperatorOidIndexId, true, - SnapshotNow, 1, skey); + NULL, 1, skey); /* we expect exactly one match */ tup = systable_getnext(scan); @@ -1651,7 +1651,7 @@ RemoveAmProcEntryById(Oid entryOid) rel = heap_open(AccessMethodProcedureRelationId, RowExclusiveLock); scan = systable_beginscan(rel, AccessMethodProcedureOidIndexId, true, - SnapshotNow, 1, skey); + NULL, 1, skey); /* we expect exactly one match */ tup = systable_getnext(scan); |