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-0006QB-Q7@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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5057366eedaccef1f4c25a7c5de0d6c1c5a291f1

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

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.