]> granicus.if.org Git - postgresql/commit
Fix error message for COMMENT/SECURITY LABEL ON COLUMN xxx IS 'yyy'
authorRobert Haas <rhaas@postgresql.org>
Tue, 22 May 2012 15:19:33 +0000 (11:19 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 22 May 2012 15:24:16 +0000 (11:24 -0400)
commitae7c8b290f525504978c01d77366a753505d10d5
treec24801da29a8f40210bfcd3aff388dcd4abae725
parent9255d21d2fe5209c96b712f96c799fe594f00f4b
Fix error message for COMMENT/SECURITY LABEL ON COLUMN xxx IS 'yyy'

When the column name is an unqualified name, rather than table.column,
the error message complains about too many dotted names, which is
wrong.  Report by Peter Eisentraut based on examination of the
sepgsql regression test output, but the problem also affects COMMENT.
New wording as suggested by Tom Lane.
contrib/sepgsql/expected/label.out
src/backend/catalog/objectaddress.c
src/test/regress/input/security_label.source
src/test/regress/output/security_label.source