Fix incorrect error message in libpq_pipeline

Michael Paquier <michael@paquier.xyz>

Commit: 451ca5c1e699c4448875fc12d9ed6d84a2e7816d
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-06-23T08:50:28Z
Releases: 14.9
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

Files

Discussion