Re: [EXTERNAL] Support load balancing in libpq - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: [EXTERNAL] Support load balancing in libpq
Date
Msg-id DAC2DE00-C8F9-45EF-A5A3-54388E2BCEBE@yesql.se
Whole thread Raw
In response to Re: [EXTERNAL] Support load balancing in libpq  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
> On 30 Mar 2023, at 10:21, Daniel Gustafsson <daniel@yesql.se> wrote:
>
>> On 30 Mar 2023, at 10:00, Julien Rouhaud <rjuju123@gmail.com> wrote:
>>
>> On Thu, Mar 30, 2023 at 3:03 PM Daniel Gustafsson <daniel@yesql.se> wrote:
>>>
>>>> On 30 Mar 2023, at 03:48, Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com> wrote:
>>>
>>>> While checking the buildfarm, I found a failure on NetBSD caused by the added code[1]:
>>>
>>> Thanks for reporting, I see that lapwing which runs Linux (Debian 7, gcc 4.7.2)
>>> has the same error.  I'll look into it today to get a fix committed.
>>
>> This is an i686 machine, so it probably has the same void *
>> difference.  Building with -m32 might be enough to reproduce the
>> problem.
>
> Makes sense.  I think the best option is to simply remove conn from being part
> of the seed and rely on the other values.  Will apply that after a testrun.

After some offlist discussion I ended up pushing the proposed uintptr_t fix
instead, now waiting for these animals to build.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: Support logical replication of DDLs
Next
From: Jelte Fennema
Date:
Subject: Re: [EXTERNAL] Re: Add non-blocking version of PQcancel