Thread: pgsql: Fix error message for COMMENT/SECURITY LABEL ON COLUMN xxx IS 'y

pgsql: Fix error message for COMMENT/SECURITY LABEL ON COLUMN xxx IS 'y

From
Robert Haas
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8fbe5a317de6c91826ae2c91f73f780bb0d6489e

Modified Files
--------------
contrib/sepgsql/expected/label.out            |    2 +-
src/backend/catalog/objectaddress.c           |    4 ++++
src/test/regress/input/security_label.source  |    1 +
src/test/regress/output/security_label.source |    2 ++
4 files changed, 8 insertions(+), 1 deletions(-)