Re: Content for talk on Postgres Type System at PostgresConf - Mailing list pgsql-general

From grimy.outshine830@aceecat.org
Subject Re: Content for talk on Postgres Type System at PostgresConf
Date
Msg-id 2c5errjnrjdnwzyooczuq7tug2a3beq7szvmwwggffwxocvzuo@qcerssurmknu
Whole thread Raw
In response to Re: Content for talk on Postgres Type System at PostgresConf  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Fri, Mar 01, 2024 at 03:25:35PM -0500, Tom Lane wrote:

> No, what he showed was correct.  I'm talking about a different facet
> of the problem:

> ...

> Even if that took account of the exchange rate, it'd not be great.
> But it doesn't; it's just the same digits reinterpreted with a new
> currency sign and possibly a different number of fractional digits.
> This might be sort of tolerable if your database only ever deals in
> one currency, but even then you'd likely want to lock down what that
> currency is.  Making it be controlled by a user-set GUC was probably
> not a great idea.

Yes, I get it now, thanks. Not useful, I agree.

-- 
Ian



pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Content for talk on Postgres Type System at PostgresConf
Next
From: "Baziotis, Stefanos"
Date:
Subject: Re: Guarantees/Semantics of pg_stats