]> granicus.if.org Git - postgresql/commit
Fix DROP OPERATOR FAMILY IF EXISTS.
authorRobert Haas <rhaas@postgresql.org>
Fri, 21 Oct 2011 13:10:46 +0000 (09:10 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 21 Oct 2011 13:13:39 +0000 (09:13 -0400)
commit5c5138f2f8c7770e05036f991e7d29b8060d5218
treec78e872b9df413b75a6162809ef61411bd96cb0d
parentd1d094e4cf7d80cb2b4f68b5e8ce11aa9ebcbf3c
Fix DROP OPERATOR FAMILY IF EXISTS.

Essentially, the "IF EXISTS" portion was being ignored, and an error
thrown anyway if the opfamily did not exist.

I broke this in commit fd1843ff8979c0461fb3f1a9eab61140c977e32d; so
backpatch to 9.1.X.

Report and diagnosis by KaiGai Kohei.
src/backend/commands/opclasscmds.c