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

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

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