mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Unbreak comments on composite type attributes.
Report and diagnosis by Peter Eisentraut.
This commit is contained in:
@@ -473,7 +473,7 @@ get_object_address_attribute(ObjectType objtype, List *objname,
|
||||
/* Extract relation name and open relation. */
|
||||
attname = strVal(lfirst(list_tail(objname)));
|
||||
relname = list_truncate(list_copy(objname), list_length(objname) - 1);
|
||||
relation = heap_openrv(makeRangeVarFromNameList(relname), lockmode);
|
||||
relation = relation_openrv(makeRangeVarFromNameList(relname), lockmode);
|
||||
reloid = RelationGetRelid(relation);
|
||||
|
||||
/* Look up attribute and construct return value. */
|
||||
|
||||
Reference in New Issue
Block a user