Re: [EXTERNAL] Support load balancing in libpq

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, Jelte Fennema <postgres(at)jeltef(dot)nl>, Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>, "Gregory Stark (as CFM)" <stark(dot)cfm(at)gmail(dot)com>, Andrey Borodin <amborodin86(at)gmail(dot)com>, Jacob Champion <jchampion(at)timescale(dot)com>, Maxim Orlov <orlovmg(at)gmail(dot)com>, Jelte Fennema <Jelte(dot)Fennema(at)microsoft(dot)com>, "mbanck(at)gmx(dot)net" <mbanck(at)gmx(dot)net>, "aleksander(at)timescale(dot)com" <aleksander(at)timescale(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, "andres(at)anarazel(dot)de" <andres(at)anarazel(dot)de>
Subject: Re: [EXTERNAL] Support load balancing in libpq
Date: 2023-03-30 09:49:11
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> On 30 Mar 2023, at 10:21, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>> On 30 Mar 2023, at 10:00, Julien Rouhaud <rjuju123(at)gmail(dot)com> wrote:
>> On Thu, Mar 30, 2023 at 3:03 PM Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>>>> On 30 Mar 2023, at 03:48, Hayato Kuroda (Fujitsu) <kuroda(dot)hayato(at)fujitsu(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema 2023-03-30 10:17:21 Re: [EXTERNAL] Re: Add non-blocking version of PQcancel
Previous Message vignesh C 2023-03-30 09:45:59 Re: Support logical replication of DDLs