Unbreak legacy syntax "COMMENT ON RULE x IS y", with no relation name.
authorRobert Haas <rhaas@postgresql.org>
Thu, 11 Aug 2011 15:23:51 +0000 (11:23 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 11 Aug 2011 15:23:51 +0000 (11:23 -0400)
commit5057366eedaccef1f4c25a7c5de0d6c1c5a291f1
treec4b89e824e51811e72fce0ba616abcf767758df8
parent59414cdedbc2ed418d66eddc0fcaf9dc40fbc27f
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.
src/backend/catalog/objectaddress.c