Re: Monetary Data Types Improvement - Mailing list pgsql-docs

From Dave Cramer
Subject Re: Monetary Data Types Improvement
Date
Msg-id CADK3HHKPZOenEGnYF=X0Aui3+noPMSWyytWmQU3+DXcCnes+bg@mail.gmail.com
Whole thread Raw
In response to Re: Monetary Data Types Improvement  (Erik Wienhold <ewie@ewie.name>)
Responses Re: Monetary Data Types Improvement
List pgsql-docs


On Wed, 20 Mar 2024 at 10:59, Erik Wienhold <ewie@ewie.name> wrote:
On 2024-03-18 23:24 +0100, David Rowley wrote:
> My vote would go to adding a deprecation notice to that section of the
> docs.  There's some talk [1] about how we discourage the usage of the
> money type and that goes on to discuss the possibilities of moving it
> into a contrib module.
>
> My hope would be that deprecation notice would steer most people away
> from using it and therefore reduce the number of questions about it
> due to fewer new use cases of it.
>
> [1] https://www.postgresql.org/message-id/ZXgh74Ykj3iWvXKr@paquier.xyz

+1

Huh, I didn't know that it used to have a deprecation notice at some
point.  But that note was removed in 8.3:

https://www.postgresql.org/message-id/20071009123315.5fb283c1.darcy%40druid.net


Sadly that was a mistake. Money is not really a useful type.

Dave

pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: Explain Format output specification
Next
From: "Jonathan S. Katz"
Date:
Subject: Re: Monetary Data Types Improvement