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 08:21:56
Message-ID: 9CC73B9C-662D-49A3-95ED-607860F3DB87@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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.

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2023-03-30 08:49:46 Re: Schema variables - new implementation for Postgres 15
Previous Message Hayato Kuroda (Fujitsu) 2023-03-30 08:11:13 RE: doc: add missing "id" attributes to extension packaging page