pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: insert column monetary type ver 2
Date: Mon, 22 Nov 2021 11:47:44 -0500
Message-ID: <3756995.1637599664@sss.pgh.pa.us> (raw)
In-Reply-To: <2b715bbd-02f9-a8b1-7f50-a41ab51efcbf@aklaver.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>
	<2b715bbd-02f9-a8b1-7f50-a41ab51efcbf@aklaver.com>

Adrian Klaver <adrian.klaver@aklaver.com> writes:
> On 11/21/21 19:21, Ron wrote:
>> Why then does the money type exist?  At the very least, why isn't it 
>> deprecated?

> It was at one point:

> https://www.postgresql.org/docs/8.2/datatype-money.html

> Not entirely sure why it was revived. You can search the mailing list 
> archive for discussions on this.

I think we concluded there was no appetite for actually removing it.
8.3 fixed the very worst problem that had led to deprecation, namely
making it an 8-byte integer not 4-byte, so we concluded that it had
at least some excuse to live.  As already noted, if it doesn't do
what you want, don't use it.

			regards, tom lane





view thread (21+ messages)

Message-ID: <3756995.1637599664@sss.pgh.pa.us>
Permalink:  ../3756995.1637599664@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3756995.1637599664@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com, ronljohnsonjr@gmail.com
  Subject: Re: insert column monetary type ver 2
  In-Reply-To: <3756995.1637599664@sss.pgh.pa.us>
  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> <2b715bbd-02f9-a8b1-7f50-a41ab51efcbf@aklaver.com> <3756995.1637599664@sss.pgh.pa.us>

* 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