Re: libpq version macro to use or not PQsocketPoll

2024-08-09 Thread Dominique Devienne
On Tue, Aug 6, 2024 at 4:48 PM Dominique Devienne wrote: > On Tue, Aug 6, 2024 at 4:31 PM Tom Lane wrote: > > Dominique Devienne writes: > > Indeed, that's an oversight, and there's a number of other things > > we added to libpq-fe.h between 16 and 17 that probably deserve > > their own LIBPQ_HA

Re: libpq version macro to use or not PQsocketPoll

2024-08-06 Thread Dominique Devienne
On Tue, Aug 6, 2024 at 4:31 PM Tom Lane wrote: > Dominique Devienne writes: > > Hi. Now that v17beta2 is part of my dev-env, I'm trying out the new API. > > And I discover there's no version macro for conditional compilation in > > LIBPQ... > > Indeed, that's an oversight, and there's a number o

Re: libpq version macro to use or not PQsocketPoll

2024-08-06 Thread Tom Lane
Dominique Devienne writes: > Hi. Now that v17beta2 is part of my dev-env, I'm trying out the new API. > And I discover there's no version macro for conditional compilation in > LIBPQ... Indeed, that's an oversight, and there's a number of other things we added to libpq-fe.h between 16 and 17 tha