Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4c9611e

Browse files
committed
Remove obsolete comment
The sequence name is no longer stored in the sequence relation, since 1753b1b.
1 parent 998c736 commit 4c9611e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/backend/commands/tablecmds.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3114,12 +3114,6 @@ RenameRelation(RenameStmt *stmt)
31143114

31153115
/*
31163116
* RenameRelationInternal - change the name of a relation
3117-
*
3118-
* XXX - When renaming sequences, we don't bother to modify the
3119-
* sequence name that is stored within the sequence itself
3120-
* (this would cause problems with MVCC). In the future,
3121-
* the sequence name should probably be removed from the
3122-
* sequence, AFAIK there's no need for it to be there.
31233117
*/
31243118
void
31253119
RenameRelationInternal(Oid myrelid, const char *newrelname, bool is_internal)

0 commit comments

Comments
 (0)