]> 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:23:36 +0000 (11:23 -0400)
commit8fbe5a317de6c91826ae2c91f73f780bb0d6489e
treefd48724df7f192a058d86dc00a23cf92cf33c05f
parentb536458e73a8d9294817228f06961913f6faa551
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