Re: occasional ECPG failures on dikkop (FreeBSD)

From: Tomas Vondra <tomas(at)vondra(dot)me>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: occasional ECPG failures on dikkop (FreeBSD)
Date: 2026-07-01 11:07:25
Message-ID: 01816be2-7f7d-4d58-9fe1-93277477d358@vondra.me
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 6/30/26 19:00, Tomas Vondra wrote:
>
> On 6/30/26 18:33, Tomas Vondra wrote:
>> On 6/30/26 17:25, Tomas Vondra wrote:
>>> On 6/30/26 16:03, Tom Lane wrote:
>>>> Tomas Vondra <tomas(at)vondra(dot)me> writes:
>>>>> On 6/30/26 03:43, Tom Lane wrote:
>>>>>> Nice detective work! I assume you've filed a FreeBSD bug?
>>>>
>>>>> Not yet, I need to create an account for their bugzilla, which requires
>>>>> mailing maintainers etc. Working on it.
>>>>
>>>> OK. I do have one, so can file this if the bureaucracy seems excessive.
>>>>
>>>
>>> Please do. There was no response so far, and I don't know when to expect
>>> one. Their page mentions "reasonable amount of time", but I have no idea
>>> if that's 24h or a week.
>>>
>>
>> Nevermind, I just got the account created, so I'll file the bug.
>>
>
> Here's a link: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296410
>

It seems the FreeBSD locales might be a bit more borked than I thought,
and just changing the one atomic call may not be a sufficient fix (it'd
likely fix our tests, but maybe not other cases).

It seems like a rare issue, so it probably won't be very high on the
TODO list. I'm sure the FreeBSD folks have enough other work.

I wonder if we should just tweak our tests to do a localeconv_t in the
main function, as a workaround. That should make the failures go away.
It's not a huge issue, but the failures from my animal annoy me.

regards

--
Tomas Vondra

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message solai v 2026-07-01 11:31:36 Re: [PATCH] Add pg_get_policy_ddl() function to reconstruct CREATE POLICY statement
Previous Message Ranier Vilela 2026-07-01 11:05:26 Re: Refactor function pg_get_multixact_stats (src/backend/utils/adt/multixactfuncs.c)