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

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix error message for COMMENT/SECURITY LABEL ON COLUMN xxx IS 'y
Date: 2012-05-22 15:30:39
Message-ID: E1SWr2l-0000Ed-Rx@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ae7c8b290f525504978c01d77366a753505d10d5

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2012-05-22 21:17:17 pgsql: Remove reviewers from 9.2 release notes; improve attributions.
Previous Message Robert Haas 2012-05-22 14:21:30 pgsql: Release note improvements.