Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG

From: "Tristan Partin" <tristan(at)neon(dot)tech>
To: "Heikki Linnakangas" <hlinnaka(at)iki(dot)fi>, "Joe Conway" <mail(at)joeconway(dot)com>
Cc: <gdo(at)leader(dot)it>, <pgsql-bugs(at)lists(dot)postgresql(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG
Date: 2023-06-14 16:42:03
Message-ID: CTCIT7UROG7Z.17MF02SIW1H6Y@gonk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Mon Jun 12, 2023 at 4:13 AM CDT, Heikki Linnakangas wrote:
> There are a few uselocale() calls in ecpg, and they are protected by
> HAVE_USELOCALE. Interestingly, the calls in pg_locale.c are not, but
> they are protected by HAVE_LOCALE_T. Seems a little inconsistent.

Patch is attached. CC-ing hackers.

--
Tristan Partin
Neon (https://neon.tech)

Attachment Content-Type Size
v1-0001-Make-uselocale-protection-more-consistent.patch text/x-patch 2.6 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2023-06-14 20:36:51 Re: BUG #17975: Nested Loop Index Scan returning wrong result
Previous Message PG Bug reporting form 2023-06-14 15:59:47 BUG #17976: Inconsistent results of SELECT using CASE WHEN clause

Browse pgsql-hackers by date

  From Date Subject
Next Message James Coleman 2023-06-14 16:48:52 Re: RFC: Logging plan of the running query
Previous Message Gurjeet Singh 2023-06-14 16:32:12 Re: Avoid unncessary always true test (src/backend/storage/buffer/bufmgr.c)