]> granicus.if.org Git - postgresql/commit
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:29:20 +0000 (11:29 -0400)
commita60c16db5f36562df571d36fcacbbed33fd40bd4
tree39d81a2ac63df983e6443131796e489d62df8d2c
parent989f530d3f793ed1c990d705d0958bfd2a533b85
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