diff options
| author | Robert Haas | 2011-10-21 13:10:46 +0000 |
|---|---|---|
| committer | Robert Haas | 2011-10-21 13:12:23 +0000 |
| commit | 980261929f2b8c40d6be1979ff81c943cad907b3 (patch) | |
| tree | ebc0af260055c510211b988899984eea01b5e920 /src/test/regress | |
| parent | b4a0223d008d7c2c9824d846e22b664b2f09cf6e (diff) | |
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.
Diffstat (limited to 'src/test/regress')
| -rw-r--r-- | src/test/regress/expected/drop_if_exists.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/regress/expected/drop_if_exists.out b/src/test/regress/expected/drop_if_exists.out index d29077657f7..85994016e15 100644 --- a/src/test/regress/expected/drop_if_exists.out +++ b/src/test/regress/expected/drop_if_exists.out @@ -214,7 +214,7 @@ ERROR: access method "no_such_am" does not exist DROP OPERATOR FAMILY test_operator_family USING btree; ERROR: operator family "test_operator_family" does not exist for access method "btree" DROP OPERATOR FAMILY IF EXISTS test_operator_family USING btree; -ERROR: operator family "test_operator_family" does not exist for access method "btree" +NOTICE: operator family "test_operator_family" does not exist for access method "btree", skipping DROP OPERATOR FAMILY test_operator_family USING no_such_am; ERROR: access method "no_such_am" does not exist DROP OPERATOR FAMILY IF EXISTS test_operator_family USING no_such_am; |
