Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qH9NO-0002fw-Mq for pgsql-bugs@arkaria.postgresql.org; Wed, 05 Jul 2023 20:45:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qH9NM-0001OH-9v for pgsql-bugs@arkaria.postgresql.org; Wed, 05 Jul 2023 20:45:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qH9NL-0001O8-Tn for pgsql-bugs@lists.postgresql.org; Wed, 05 Jul 2023 20:45:24 +0000 Received: from mail-ot1-x32c.google.com ([2607:f8b0:4864:20::32c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qH9NC-002PL4-EB for pgsql-bugs@lists.postgresql.org; Wed, 05 Jul 2023 20:45:21 +0000 Received: by mail-ot1-x32c.google.com with SMTP id 46e09a7af769-6b5ef64bca6so6396394a34.3 for ; Wed, 05 Jul 2023 13:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=neon-tech.20221208.gappssmtp.com; s=20221208; t=1688589912; x=1691181912; h=in-reply-to:references:from:to:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tQtFlhLR7hjpw5zybCe5oyoQw9I+4rqESzy3v3iW5/4=; b=f+DHSmuuOLKQtYNQNIkCjrYe7Hc9L4FM7pDEttinEzcaShS7VHKWAGzp19h5050otz nnm68doO/6sOHbxfx3RfFW/wPRBph5oeYAl8Q61TCuKl7WrNJGbSkMe3n98TSqaiPGOP y1Ag34N45/+SAloNEpbdT3vtEjqIQCdI5DK1n+DmrMYzrs3b9HHoePkDuSBTl+hRKZyy /c3uabgCBiQKE8dcsl0J0XpylEHUJeInrNJZIGFgl624rfreZHKeSPMr5jUoVUrifNWZ CmgojMN6qf13NAVXjF2jYYhiDWVAwU5ZigjatRBIwuWY28ej0YsH1V4Ybk14hTN30ZgM uHgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688589912; x=1691181912; h=in-reply-to:references:from:to:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=tQtFlhLR7hjpw5zybCe5oyoQw9I+4rqESzy3v3iW5/4=; b=Elo1IvOsFycPERu8gx7T9SaEdJrrXAmTaP3TWlhO5ZM+R69hGDSkhJxLZB1GHUdf6h L8BiHSsodhwIu4jgR294/yEVLOZbiHRyjxrWI/eajc3NBGAmuhqBGDJr9R4F9mwGHlRz ohV7yxVHR4BCpMg6/YxyFzN+V33x9tmTj3dmKLWubLvIHxvdS0eIMt7pgB8IhyneUOws UZPG/IDdqEnZ8XMtZQCo+HHo7CVnLfZCeSUwWhvXyNtbBLrWovmD5G7kcNUX2elrZAqO L2hZjyDJ7Xzao8bvz5Y2fQ7NE5hSTDjkYguaEeVu+eHTUm5Cgl8I1awWeZ1Optu6DqUl giXA== X-Gm-Message-State: ABy/qLZQh1/BuUEBsDL8cSJ9mtLtJO12zQhIEdRHqEJvh+DmGbxzQVoh 0LUfOmZ9+qk1RIbSqSitmngCeQ== X-Google-Smtp-Source: APBJJlFGvIBnpD1IY6rOqdMJHuUx2iu7nFqbFmZ9U/qhUUq6FPzOpYmaqxRrYNLG1+KiprqAk6iEPA== X-Received: by 2002:a9d:7758:0:b0:6b4:64fb:ef0f with SMTP id t24-20020a9d7758000000b006b464fbef0fmr90668otl.17.1688589912575; Wed, 05 Jul 2023 13:45:12 -0700 (PDT) Received: from localhost ([2607:fb90:f280:130d:3996:e070:71ee:42fb]) by smtp.gmail.com with ESMTPSA id p9-20020a9d76c9000000b006b45be2fdc2sm28583otl.65.2023.07.05.13.45.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Jul 2023 13:45:12 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 05 Jul 2023 15:45:11 -0500 Message-Id: Cc: Subject: Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG To: "Heikki Linnakangas" , "Tom Lane" , From: "Tristan Partin" X-Mailer: aerc 0.15.2-76-g69094e332779 References: <17946-3e84cb577e9551c3@postgresql.org> <1564676.1685043220@sss.pgh.pa.us> <555bb26e-c27c-ab65-028f-3fd5b82df9de@iki.fi> In-Reply-To: <555bb26e-c27c-ab65-028f-3fd5b82df9de@iki.fi> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon Jun 5, 2023 at 11:00 AM CDT, Heikki Linnakangas wrote: > > I think the uselocale() call renders ineffective the setlocale() calls=20 > that we make later. Maybe we should replace our setlocale() calls with=20 > uselocale(), too. Should we just stop supporting systems without uselocale() that aren't Windows, where you can get thread-safe localization using another method? I am not aware of other systems that might have their own non-POSIX APIs. --=20 Tristan Partin Neon (https://neon.tech)