Re: Add sortsupport to money_ops, pg_lsn_ops and xid8_ops

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: David Rowley <dgrowleyml(at)gmail(dot)com>, Kirill Reshke <reshkekirill(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add sortsupport to money_ops, pg_lsn_ops and xid8_ops
Date: 2026-11-13 08:52:49
Message-ID: 174a70c7-3b4e-401b-a2c8-8ebb3b1c05c1@proxel.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/9/26 08:53, David Rowley wrote:
> On Mon, 9 Nov 2026 at 17:10, Kirill Reshke <reshkekirill(at)gmail(dot)com> wrote:
>> It didn't occur to me that this would require any maintenance cost.
>> Saying that, I think money type is something people use
>
> Any basis for those thoughts? I've only ever seen its usage
> discouraged and even a short discussion [1] on how we might remove it
> one day.
>
> Perhaps we should make pg_upgrade start kicking out warnings in v20
> and then remove it in v25... Or reconsider that if we receive too many
> complaints.

Yeah, I think we should deprecate the money type. It is weird and
confusing to any user and the name makes some people think that it is
useful for storing money when it is generally not. I would rather that
we work on deprecating it over improving it. Maybe it can be turned into
an extension for the people who want it, but the issue is pg_upgrade and
type type oid.

--
Andreas Karlsson
Percona

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2026-11-13 09:03:28 RE: Patch for migration of the pg_commit_ts directory
Previous Message 신성준 2026-11-13 08:48:10 Re: Add wait events for server logging destination writes