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

From Robert Haas
Subject pgsql: Fix error message for COMMENT/SECURITY LABEL ON COLUMN xxx IS 'y
Date
Msg-id E1SWr2l-0000Eb-Qv@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Fix error message for COMMENT/SECURITY LABEL ON COLUMN xxx IS 'y
Next
From: Bruce Momjian
Date:
Subject: pgsql: Remove reviewers from 9.2 release notes; improve attributions.