Skip site navigation (1) Skip section navigation (2)

pgsql: Fix DROP OPERATOR FAMILY IF EXISTS.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix DROP OPERATOR FAMILY IF EXISTS.
Date: 2011-10-21 13:13:57
Message-ID: E1RHEv7-0001D3-Po@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5c5138f2f8c7770e05036f991e7d29b8060d5218

Modified Files
--------------
src/backend/commands/opclasscmds.c |    7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2011-10-21 17:40:49
Subject: pgsql: Try to log current the query string when a backend crashes.
Previous:From: Tom LaneDate: 2011-10-20 23:44:32
Subject: pgsql: Simplify and improve ProcessStandbyHSFeedbackMessage logic.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group