Hi,
playing around with $[0] testlibpq2.c example. I wondered where HAVE_SYS_SELECT_H is defined?
I searched on the internet, founded that people also asked the same question in $[1].
In my machine, I do have <sys/select.h>.
system version: Ubuntu 22.04.1 LTS
gcc version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
gcc compile command: gcc pg_testlibpq2.c -I/home/jian/postgres/pg16/include \
-L/home/jian/postgres/pg16/lib -lpq
-L/home/jian/postgres/pg16/lib -lpq