summaryrefslogtreecommitdiff
path: root/src/backend/commands/analyze.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-07-26 15:17:03 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-07-26 15:17:03 -0400
commit46c193213adb4cbcdd0f8198b361de27d0ca13fe (patch)
tree1cc63b99ca106f7ed7610bd050053fb6d2ba6e60 /src/backend/commands/analyze.c
parent55862b2e93030b6720123f888217a557532dd894 (diff)
Fix possible lockup in pgbench with -R.
pgbench would sometimes get stuck waiting forever after its last client thread terminated, due to failing to check for there being nothing more to wait for. Bug introduced during refactoring in v10 (I didn't bother to try to assign blame to a specific commit). It's already repaired in HEAD/v12 thanks to commit 3bac77c48, but v10 and v11 need this fix. Fabien Coelho, per report from Tomas Vondra; reviewed by Yoshikazu Imai Discussion: https://postgr.es/m/cc5d76c1-6144-bbed-ad1b-961d13d88f3b@2ndquadrant.com
Diffstat (limited to 'src/backend/commands/analyze.c')
0 files changed, 0 insertions, 0 deletions