Fix incorrect error message in libpq_pipeline
authorMichael Paquier <[email protected]>
Fri, 23 Jun 2023 08:50:28 +0000 (17:50 +0900)
committerMichael Paquier <[email protected]>
Fri, 23 Jun 2023 08:50:28 +0000 (17:50 +0900)
commit451ca5c1e699c4448875fc12d9ed6d84a2e7816d
treebd649d87813c61a0bc3a76f0aa201e49cbd1a83b
parent991983fcf650a5cecaefff5dc10a55ff865f57cb
Fix incorrect error message in libpq_pipeline

One of the tests for the pipeline mode with portal description expects a
non-NULL PQgetResult, but used an incorrect error message on failure,
telling that PQgetResult being NULL was the expected result.

Author: Jelte Fennema
Discussion: https://postgr.es/m/CAGECzQTkShHecFF+EZrm94Lbsu2ej569T=bz+PjMbw9Aiioxuw@mail.gmail.com
Backpatch-through: 14
src/test/modules/libpq_pipeline/libpq_pipeline.c