libpq_pipeline: Test the default protocol version

Jacob Champion <jchampion@postgresql.org>

Commit: 9b9eaf08ab2dc22c691b22e59f1574e0f1bcc822
Author: Jacob Champion <jchampion@postgresql.org>
Date: 2026-01-23T20:59:03Z
libpq_pipeline: Test the default protocol version

In preparation for a future change to libpq's default protocol version,
pin today's default (3.0) in the libpq_pipeline tests.

Patch by Jelte Fennema-Nio, with some additional refactoring of the
PQconnectdbParams() logic by me.

Author: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://postgr.es/m/DDPR5BPWH1RJ.1LWAK6QAURVAY%40jeltef.nl

Files

PathChange+/−
src/test/modules/libpq_pipeline/libpq_pipeline.c modified +34 −16

Discussion