Fix DROP OPERATOR FAMILY IF EXISTS.

Robert Haas <rhaas@postgresql.org>

Commit: 5c5138f2f8c7770e05036f991e7d29b8060d5218
Author: Robert Haas <rhaas@postgresql.org>
Date: 2011-10-21T13:13:39Z
Releases: 9.1.2
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.

Files

PathChange+/−
src/backend/commands/opclasscmds.c modified +3 −4