Accept regression diff.
authorPavan Deolasee <[email protected]>
Tue, 15 May 2018 10:30:12 +0000 (16:00 +0530)
committerPavan Deolasee <[email protected]>
Mon, 21 May 2018 06:11:56 +0000 (11:41 +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 ef8044387bc965f371752760cb62baae1c5354ff..375b0fcfa36c4cdcbb2d5ec84d77308713b5bbf2 100644 (file)
@@ -2612,7 +2612,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
@@ -2623,7 +2622,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";