]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Stop using PQsendQuery in libpq_pipeline
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 23 Sep 2022 16:11:48 +0000 (18:11 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 23 Sep 2022 16:11:48 +0000 (18:11 +0200)
commit27e04412c9c3c3c3b2d182821c759f95693c0039
tree00660fc2d9493906f0963c0d994ce03520cbed19
parenta2ab0ad88cf87e0dcd9fc4c7fcfac132a4e88d2a
Stop using PQsendQuery in libpq_pipeline

The "emulation" I wrote for PQsendQuery in pipeline mode to use extended
query protocol, in commit acb7e4eb6b1c, is problematic.  Due to numerous
bugs we'll soon remove it.  As a first step and for all branches back to
14, stop using PQsendQuery in libpq_pipeline.  Also remove a few test
lines that will no longer be relevant.

Backpatch to 14.

Discussion: https://postgr.es/m/CA+mi_8ZGSQNmW6-mk_iSR4JZB_LJ4ww3suOF+1vGNs3MrLsv4g@mail.gmail.com
src/test/modules/libpq_pipeline/libpq_pipeline.c
src/test/modules/libpq_pipeline/traces/pipeline_abort.trace
src/test/modules/libpq_pipeline/traces/pipeline_idle.trace