pgsql: Fix rare deadlock failure in create_am regression test.

2020-09-04 Thread Tom Lane
Fix rare deadlock failure in create_am regression test. The "DROP ACCESS METHOD gist2" test will require locking the index to be dropped and then its table; while most ordinary operations lock a table first then its index. While no concurrent test scripts should be touching fast_emp4000, autovacu

pgsql: Fix rare deadlock failure in create_am regression test.

2020-09-04 Thread Tom Lane
Fix rare deadlock failure in create_am regression test. The "DROP ACCESS METHOD gist2" test will require locking the index to be dropped and then its table; while most ordinary operations lock a table first then its index. While no concurrent test scripts should be touching fast_emp4000, autovacu

pgsql: Fix rare deadlock failure in create_am regression test.

2020-09-04 Thread Tom Lane
Fix rare deadlock failure in create_am regression test. The "DROP ACCESS METHOD gist2" test will require locking the index to be dropped and then its table; while most ordinary operations lock a table first then its index. While no concurrent test scripts should be touching fast_emp4000, autovacu

pgsql: Fix rare deadlock failure in create_am regression test.

2020-09-04 Thread Tom Lane
Fix rare deadlock failure in create_am regression test. The "DROP ACCESS METHOD gist2" test will require locking the index to be dropped and then its table; while most ordinary operations lock a table first then its index. While no concurrent test scripts should be touching fast_emp4000, autovacu

pgsql: Fix rare deadlock failure in create_am regression test.

2020-09-04 Thread Tom Lane
Fix rare deadlock failure in create_am regression test. The "DROP ACCESS METHOD gist2" test will require locking the index to be dropped and then its table; while most ordinary operations lock a table first then its index. While no concurrent test scripts should be touching fast_emp4000, autovacu

pgsql: Fix rare deadlock failure in create_am regression test.

2020-09-04 Thread Tom Lane
Fix rare deadlock failure in create_am regression test. The "DROP ACCESS METHOD gist2" test will require locking the index to be dropped and then its table; while most ordinary operations lock a table first then its index. While no concurrent test scripts should be touching fast_emp4000, autovacu