Fix incorrect error message in libpq_pipeline

Michael Paquier <michael@paquier.xyz>

Commit: f69a7f08fd01aa7d6dcd2c34dbdc4eb154a5ec12
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-06-23T08:49:07Z
Releases: 16.0
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