Dec 2019

1 commit
Fix query cancellation handling in psql
17 Dec 2019Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #80 of 3 reviewers saw the final version

The commit matches the five-file implementation in #8, including the callback fix, psql flag checks, and volatile sig_atomic_t declarations. The only substantive textual difference in the patch is shortening the comment before cancel_pressed = true in src/bin/psql/common.c.

  • Jeff Janessaw an earlier versionLLM analysis, 96% sureJeff confirmed that the first patch fixed his reproducer #4, before the approach changed in #8.
  • Fabien COELHOsaw an earlier versionLLM analysis, 100% sureFabien reported successful application, compilation, and testing #5 and examined flag resets and signal handling #7, before the rework in #8.
  • Tom Lanesaw an earlier versionLLM analysis, 100% sureTom questioned flag clearing, removal of the callback assignment, and the missing volatile declaration #6, prompting the revised handling in #8.

Credits across 1 commit

Author
Michael Paquier1
Reported by
Jeff Janes1
Committer
Michael Paquier1