lc_numeric and negative-prefix

From: Andreas Joseph Krogh <andreas(at)visena(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: lc_numeric and negative-prefix
Date: 2019-09-25 22:49:33
Message-ID: VisenaEmail.1.aeb42fb6f7a3b7ad.16d6a8d9c18@tc7-visena
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)visena(dot)com
<mailto:andreas(at)visena(dot)com> www.visena.com <https://www.visena.com>
<https://www.visena.com>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2019-09-25 22:53:28 Re: lc_numeric and negative-prefix
Previous Message Tom Lane 2019-09-25 22:38:25 Re: Arrays and ANY problem