Nov 2023

1 commit
Call pqPipelineFlush from PQsendFlushRequest
8 Nov 2023Alvaro Herreramaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.2REL_15_STABLE15.6REL_14_STABLE14.11Also in: Call pqPipelineFlush from PQsendFlushRequest (landed as posted)

Jun - Jul 2021

3 commits
libpq: Fix sending queries in pipeline aborted state
9 Jul 2021Alvaro Herreramaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14beta3
LLM analysis, 100% suremodified before commitlight changesfrom patchset #292 of 2 reviewers saw the final version

The commit preserves the pqAppendCmdQueueEntry() state logic and caller changes from #29. It expands comments, makes pqPipelineProcessQueue() static, adds a uniqviol test and PQisBusy documentation, and incorporates the false-to-0 correction reported in #25.

  • Boris Kolpackovsaw the final versionLLM analysis, 100% sureBoris tested the fixes, supplied a reproducer in #32, and confirmed working behavior while proposing the adopted documentation wording in #40.
  • Ranier Vilelasaw the final versionLLM analysis, 94% sureRanier identified the false-versus-0 mistake in the landed flush function in #25, and this commit incorporates that exact correction.
Fix libpq state machine in pipeline mode
29 Jun 2021Alvaro Herreramaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14beta3
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #161 of 1 reviewer saw the final version

This commits the state-machine fix and nosync test from #16, leaving its documentation and new API to a separate commit. The fe-exec.c fix is unchanged; the test uses ten queries, the renamed API, explicit flushing and a new expected trace.

  • Boris Kolpackovsaw the final versionLLM analysis, 100% sureBoris confirmed in #15 that #14 fixed the initial unexpected NULL result, and that production-code fix remained unchanged through #16 and the commit.
Add PQsendFlushRequest to libpq
29 Jun 2021Alvaro Herreramaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14beta3
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #161 of 1 reviewer saw the final version

This combines the documentation and flush-request API portions of #16, excluding its test and state-machine fix. It renames PQrequestFlush() to PQsendFlushRequest(), removes the internal pqFlush() call, and documents explicit client flushing and synchronization-free server flushing.

  • Boris Kolpackovsaw the final versionLLM analysis, 96% sureBoris reviewed the documentation in #12 and advocated the adopted separation of flush requests from PQflush() in #20.

Credits across 4 commits

Author
Alvaro Herrera3
Jelte Fennema-Nio1
Reviewer
Alvaro Herreracommitter1
Reported by
Boris Kolpackov3
Committer
Alvaro Herrera4