From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: insert column monetary type ver 2
Date: Sun, 21 Nov 2021 21:21:53 -0600
Message-ID: <150ff686-0239-4700-9322-24081f054de8@gmail.com> (raw)
In-Reply-To: <CAKFQuwaoNoeU0m9FSZNm2ag7eBMA+p8QD8O7CNvAR0i-uTH4kQ@mail.gmail.com>
References: <CAPL5KHpHSCXzB+yX4dDqKBRTtkx+M0rY7_Fc8NJnvVDw9E-iww@mail.gmail.com>
<3175389.1637427716@sss.pgh.pa.us>
<6ab247a8-1524-6e55-c7fd-1d296b1584c3@gmail.com>
<3443422.1637512030@sss.pgh.pa.us>
<74183538-0a51-9580-87a8-8b33274c9159@gmail.com>
<af48124c-8f94-2ab8-8230-eacb66e90eed@aklaver.com>
<e54ead7d-b3c0-f5cc-fa57-20f5799958d9@gmail.com>
<CAKFQuwaoNoeU0m9FSZNm2ag7eBMA+p8QD8O7CNvAR0i-uTH4kQ@mail.gmail.com>
On 11/21/21 8:43 PM, David G. Johnston wrote:
> On Sunday, November 21, 2021, Ron <ronljohnsonjr@gmail.com
> <mailto:ronljohnsonjr@gmail.com>> wrote:
>
> On 11/21/21 7:33 PM, Adrian Klaver wrote:
>
> On 11/21/21 17:08, Ron wrote:
>
> On 11/21/21 10:27 AM, Tom Lane wrote:
>
> Ron <ronljohnsonjr@gmail.com
> <mailto:ronljohnsonjr@gmail.com>> writes:
>
>
> The contrary argument is that people tend not to like
> "best guess"
> behavior when working with monetary amounts.
>
>
> Best Guess is relative. Breaking because of "ASCII Space"
> instead of "narrow no-break space" is definitely Not Right.
>
>
> The people I have worked for have forgiven me many sins, messing
> up the money is not one of them.
>
>
> Not inserting this record is also messing up the money.
>
>
> Adding processing smarts here is Not Definitely Right. And the status quo
> is Not Definitely Wrong. As long as we don’t have a round-trip problem
> I’d lean toward maintaining the status quo and accept the complaints that
> we aren’t being as flexible as we could be with our money type. That we
> interpret the LC setting exactly is a defensible position to take.
Which means *that* is broken.
> Especially since money is a type we advise people avoid anyway. We can
> just add this to the list of reasons why.
Why then does the money type exist? At the very least, why isn't it deprecated?
--
Angular momentum makes the world go 'round.
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: ronljohnsonjr@gmail.com
Subject: Re: insert column monetary type ver 2
In-Reply-To: <150ff686-0239-4700-9322-24081f054de8@gmail.com>
References: <CAPL5KHpHSCXzB+yX4dDqKBRTtkx+M0rY7_Fc8NJnvVDw9E-iww@mail.gmail.com> <3175389.1637427716@sss.pgh.pa.us> <6ab247a8-1524-6e55-c7fd-1d296b1584c3@gmail.com> <3443422.1637512030@sss.pgh.pa.us> <74183538-0a51-9580-87a8-8b33274c9159@gmail.com> <af48124c-8f94-2ab8-8230-eacb66e90eed@aklaver.com> <e54ead7d-b3c0-f5cc-fa57-20f5799958d9@gmail.com> <CAKFQuwaoNoeU0m9FSZNm2ag7eBMA+p8QD8O7CNvAR0i-uTH4kQ@mail.gmail.com> <150ff686-0239-4700-9322-24081f054de8@gmail.com>
* 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