Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2017-03-14 20:07:38 +0000
committerAndres Freund2017-03-14 20:07:38 +0000
commit71504026556fc1494c9a7045aad9645f7d9e4cdf (patch)
tree7fa010fd2c12e02b0de000e15a70e64edb4e3948 /contrib/btree_gist/sql
parentbb4a39637ac6155b4ed5a9f83d17921fb57400b6 (diff)
amcheck: Harden tests against concurrent autovacuums.
The previous coding of the test was vulnerable against autovacuum triggering work on one of the tables in check_btree.sql. For the purpose of the test it's entirely sufficient to check for locks taken by the current process, so add an appropriate restriction. While touching the test, expand it to also check for locks on the underlying relations, rather than just the indexes. Reported-By: Tom Lane Discussion: https://postgr.es/m/30354.1489434301@sss.pgh.pa.us
Diffstat (limited to 'contrib/btree_gist/sql')
0 files changed, 0 insertions, 0 deletions