Fix incorrect error message in libpq_pipeline
authorMichael Paquier <michael@paquier.xyz>
Fri, 23 Jun 2023 08:50:23 +0000 (17:50 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 23 Jun 2023 08:50:23 +0000 (17:50 +0900)
commit4fd633df5080ef45b1a1665e6599463aad42305a
treefacd5f9085960888229f34c66efce0f65c70d296
parent8aac6140c8ac44fe34ad8242e37d8f94e0156c49
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