On 2021/07/21 13:42, Peter Eisentraut <pe...@eisentraut.org> wrote:
> What specifically are you trying to check for in libpq?  Maybe there is a
> better way, or we could add one.

It's about this compile-time check:

 https://github.com/CM4all/libcommon/blob/master/src/pg/Connection.hxx#L430

This is a C++ wrapper for libpq, and some users of this library run on
very old Debian versions with just libpq 8, and other users run on
Debian 11 with libpq wrapped in C++20 Coroutines, and for that they
need PQsetSingleRowMode() which is only available since version 9.

Reply via email to