Monetary Data Types Improvement

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: b(dot)powell(dot)jr(at)outlook(dot)com
Subject: Monetary Data Types Improvement
Date: 2024-03-17 02:16:42
Message-ID: 171064180281.7104.18308925085444324241@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/datatype-money.html
Description:

It's not explicitly obvious that money doesn't behave like a normal numeric
type in that executing a procedure with a negative numeric value for money
causes an error. The solution to this is to pass the value as a string. For
example, -15.99 for money should be expressed as '-15.99'.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Laurenz Albe 2024-03-17 17:50:34 Re: Locking
Previous Message Laurenz Albe 2024-03-16 13:48:32 Re: Locking