We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d79013 commit 6651045Copy full SHA for 6651045
src/backend/commands/sequence.c
@@ -490,12 +490,12 @@ AlterSequence(ParseState *pstate, AlterSeqStmt *stmt)
490
if (owned_by)
491
process_owned_by(seqrel, owned_by, stmt->for_identity);
492
493
+ CatalogTupleUpdate(rel, &seqtuple->t_self, seqtuple);
494
+
495
InvokeObjectPostAlterHook(RelationRelationId, relid, 0);
496
497
ObjectAddressSet(address, RelationRelationId, relid);
498
- CatalogTupleUpdate(rel, &seqtuple->t_self, seqtuple);
-
499
heap_close(rel, RowExclusiveLock);
500
relation_close(seqrel, NoLock);
501
0 commit comments