pgsql: Unbreak legacy syntax "COMMENT ON RULE x IS y", with no relation

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Unbreak legacy syntax "COMMENT ON RULE x IS y", with no relation
Date: 2011-08-11 15:29:40
Message-ID: E1QrXCW-0006QD-Pw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Unbreak legacy syntax "COMMENT ON RULE x IS y", with no relation name.

check_object_ownership() isn't happy about the null relation pointer.
We could fix it there, but this seems more future-proof.

Branch
------
REL9_1_STABLE

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

Modified Files
--------------
src/backend/catalog/objectaddress.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-08-11 15:36:10 Re: pgsql: Unbreak legacy syntax "COMMENT ON RULE x IS y", with no relation
Previous Message Robert Haas 2011-08-11 15:16:46 pgsql: Change psql's \dd command to do something more useful.