mirror of
https://github.com/postgres/postgres.git
synced 2025-10-31 10:30:33 +03:00
New NameStr macro to convert Name to Str. No need for var.data anymore.
Fewer calls to nameout. Better use of RelationGetRelationName.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.55 1999/10/03 23:55:27 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.56 1999/11/07 23:08:01 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* The PortalExecutorHeapMemory crap needs to be eliminated
|
||||
@@ -358,7 +358,7 @@ PerformAddAttribute(char *relationName,
|
||||
if (childrelid == myrelid)
|
||||
continue;
|
||||
rel = heap_open(childrelid, AccessExclusiveLock);
|
||||
PerformAddAttribute((rel->rd_rel->relname).data,
|
||||
PerformAddAttribute(RelationGetRelationName(rel),
|
||||
userName, false, colDef);
|
||||
heap_close(rel, AccessExclusiveLock);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user