pgsql: Fix DROP OPERATOR FAMILY IF EXISTS. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix DROP OPERATOR FAMILY IF EXISTS.
Date
Msg-id E1RHEv7-0001D1-P9@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/980261929f2b8c40d6be1979ff81c943cad907b3

Modified Files
--------------
src/backend/commands/opclasscmds.c           |    7 +++----
src/test/regress/expected/drop_if_exists.out |    2 +-
2 files changed, 4 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Simplify and improve ProcessStandbyHSFeedbackMessage logic.
Next
From: Robert Haas
Date:
Subject: pgsql: Try to log current the query string when a backend crashes.