aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2022-09-23 18:21:22 +0200
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2022-09-23 18:21:22 +0200
commit0032a5456708811ca95bd80a538f4fb72ad0dd20 (patch)
tree0f9578f369e26b1dea267ff9e1c94525bbef325e /src/backend/executor/nodeModifyTable.c
parentd11a41a4ce79660d1a1c5f81b051061717099a9f (diff)
downloadpostgresql-0032a5456708811ca95bd80a538f4fb72ad0dd20.tar.gz
postgresql-0032a5456708811ca95bd80a538f4fb72ad0dd20.zip
Remove PQsendQuery support in pipeline mode
The extended query protocol implementation I added in commit acb7e4eb6b1c has bugs when used in pipeline mode. Rather than spend more time trying to fix it, remove that code and make the function rely on simple query protocol only, meaning it can no longer be used in pipeline mode. Users can easily change their applications to use PQsendQueryParams instead. We leave PQsendQuery in place for Postgres 14, just in case somebody is using it and has not hit the mentioned bugs; but we should recommend that it not be used. Backpatch to 15. Per bug report from Gabriele Varrazzo. Discussion: https://postgr.es/m/CA+mi_8ZGSQNmW6-mk_iSR4JZB_LJ4ww3suOF+1vGNs3MrLsv4g@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions