Fix DROP ACCESS METHOD IF EXISTS.
Tom Lane <tgl@sss.pgh.pa.us>
Fix DROP ACCESS METHOD IF EXISTS. The IF EXISTS option was documented, and implemented in the grammar, but it didn't actually work for lack of support in does_not_exist_skipping(). Per bug #14160. Report and patch by Kouhei Sutou Report: <20160527070433.19424.81712@wrigleys.postgresql.org>
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/dropcmds.c | modified | +5 −1 |
| src/test/regress/expected/drop_if_exists.out | modified | +5 −0 |
| src/test/regress/sql/drop_if_exists.sql | modified | +4 −0 |