aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/cluster.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2024-03-13 19:53:49 +0100
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2024-03-13 19:55:09 +0100
commit1ee910ce437188eab40eddf32dc7d81952e99f82 (patch)
tree1630625fd490b9c8b4e9de57486dfdd99006093a /src/backend/commands/cluster.c
parentdbfc44716596073b99e093a04e29e774a518f520 (diff)
downloadpostgresql-1ee910ce437188eab40eddf32dc7d81952e99f82.tar.gz
postgresql-1ee910ce437188eab40eddf32dc7d81952e99f82.zip
Hopefully make libpq_pipeline's new cancel test more reliable
The newly introduced cancel test in libpq_pipeline was flaky. It's not completely clear why, but one option is that the check for "active" was actually seeing the active state for the previous query. This change should address any such race condition by first waiting until the connection is reported as idle. Author: Jelte Fennema-Nio <me@jeltef.nl> Discussion: https://postgr.es/m/CAGECzQRvmUK5-d68A+cm+fgmfht9Dv2uZ28-qq3QiaF6EAZqPQ@mail.gmail.com
Diffstat (limited to 'src/backend/commands/cluster.c')
0 files changed, 0 insertions, 0 deletions