postgres.git / summary / log / commit / refs
commit 3ebdd21b794b49fde2010ff3d39071e02d27b404
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Mon Aug 13 19:07:31 2018 +0000
First released in: 12.0, 10.6, 11.0
Remove obsolete comment
The sequence name is no longer stored in the sequence relation, since
1753b1b027035029c2a2a1649065762fafbf63f3.
src/backend/commands/tablecmds.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index cef66328407..f6210226e98 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -3140,12 +3140,6 @@ RenameRelation(RenameStmt *stmt)
/*
* RenameRelationInternal - change the name of a relation
- *
- * XXX - When renaming sequences, we don't bother to modify the
- * sequence name that is stored within the sequence itself
- * (this would cause problems with MVCC). In the future,
- * the sequence name should probably be removed from the
- * sequence, AFAIK there's no need for it to be there.
*/
void
RenameRelationInternal(Oid myrelid, const char *newrelname, bool is_internal)
[parent: 1e6e98f76389]