]> granicus.if.org Git - postgresql/commit
Fix DROP ACCESS METHOD IF EXISTS.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 27 May 2016 15:03:18 +0000 (11:03 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 27 May 2016 15:03:18 +0000 (11:03 -0400)
commit83dbde94f726f2517a79b1cea59e57452c36e734
treef2e6f5e3d161528894330c461f473bea3c6264aa
parent9dd4178cec3ffd825a4bef558632b7cba3e426c5
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>
src/backend/commands/dropcmds.c
src/test/regress/expected/drop_if_exists.out
src/test/regress/sql/drop_if_exists.sql