]> 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)
commit1c03166352c3fd94dd131938e42f2a182fcf4067
treec2a1c19380b6cac89b964bc2a5b15ff298ba2e88
parent21934612d86a1e0c83c2774b776a022b9a5a90bd
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