Accept regression diff.
authorPavan Deolasee <pavan.deolasee@gmail.com>
Tue, 15 May 2018 10:30:12 +0000 (16:00 +0530)
committerPavan Deolasee <pavan.deolasee@gmail.com>
Wed, 16 May 2018 08:47:39 +0000 (14:17 +0530)
We no longer see "DROP INDEX CONCURRENTLY cannot run inside a transaction
block" if the index does not exists and we're running DROP IF EXISTS
command

src/test/regress/expected/create_index.out

index 71b6ee100a1cff1163a5d7aa0163a69ad7ba7c75..6704b4b4412a42f0d601dfb14c01f8d9bd2ed416 100644 (file)
@@ -2604,7 +2604,6 @@ DROP INDEX CONCURRENTLY "concur_index2";                          -- works
 ERROR:  index "concur_index2" does not exist
 DROP INDEX CONCURRENTLY IF EXISTS "concur_index2";             -- notice
 NOTICE:  index "concur_index2" does not exist, skipping
-ERROR:  DROP INDEX CONCURRENTLY cannot run inside a transaction block
 -- failures
 DROP INDEX CONCURRENTLY "concur_index2", "concur_index3";
 ERROR:  index "concur_index2" does not exist
@@ -2615,7 +2614,6 @@ ROLLBACK;
 -- successes
 DROP INDEX CONCURRENTLY IF EXISTS "concur_index3";
 NOTICE:  index "concur_index3" does not exist, skipping
-ERROR:  DROP INDEX CONCURRENTLY cannot run inside a transaction block
 DROP INDEX CONCURRENTLY "concur_index4";
 ERROR:  index "concur_index4" does not exist
 DROP INDEX CONCURRENTLY "concur_index5";