From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-general@lists.postgresql.org
Subject: lc_numeric and negative-prefix
Date: Thu, 26 Sep 2019 00:49:33 +0200 (CEST)
Message-ID: <VisenaEmail.1.aeb42fb6f7a3b7ad.16d6a8d9c18@tc7-visena> (raw)
Hi. We're having this thread over at
https://github.com/impossibl/pgjdbc-ng/issues/420
<https://github.com/impossibl/pgjdbc-ng/issues/420; Can anybody shed som light
on when negative-prefix is supposed to be respected by PG's
formatting-functions? In lc_numeric='nb_NO.UTF-8' negative-prefix is '−'(8722),
not '-'(45), at least in the JAVA-world, but it seems the JDBC-driver must use
lc_numeric='C' when parsing server output. -- Andreas Joseph Krogh CTO / Partner
- Visena AS Mobile: +47 909 56 963 andreas@visena.com
<mailto:andreas@visena.com> www.visena.com <https://www.visena.com;
<https://www.visena.com;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: andreas@visena.com
Subject: Re: lc_numeric and negative-prefix
In-Reply-To: <VisenaEmail.1.aeb42fb6f7a3b7ad.16d6a8d9c18@tc7-visena>
References: <VisenaEmail.1.aeb42fb6f7a3b7ad.16d6a8d9c18@tc7-visena>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox