Fix incorrect error message in libpq_pipeline
authorMichael Paquier <michael@paquier.xyz>
Fri, 23 Jun 2023 08:49:07 +0000 (17:49 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 23 Jun 2023 08:49:07 +0000 (17:49 +0900)
commitf69a7f08fd01aa7d6dcd2c34dbdc4eb154a5ec12
treedcff6936ecdcc2ce217cb6f4e6f860d15144f8c9
parentc2122aae636d7121d5cdb64ad1444e1df7f69257
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