Re: Add sortsupport to money_ops, pg_lsn_ops and xid8_ops

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Cc: David Rowley <dgrowleyml(at)gmail(dot)com>, Andreas Karlsson <andreas(at)proxel(dot)se>, Kirill Reshke <reshkekirill(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add sortsupport to money_ops, pg_lsn_ops and xid8_ops
Date: 2026-12-04 20:53:03
Message-ID: F37B9D9B-C49F-4F39-9688-E2212D1E18BB@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 4 Dec 2026, at 20:52, Corey Huinker <corey(dot)huinker(at)gmail(dot)com> wrote:
>
> On Thu, Dec 3, 2026 at 3:58 PM David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
> On Thu, 3 Dec 2026 at 10:07, Corey Huinker <corey(dot)huinker(at)gmail(dot)com> wrote:
> > 2. customers with at least 1 money column: 2.68%
>
> > I had hoped that this research would show that usage was vanishingly small, giving us a reason to pursue a more aggressive deprecation schedule, but that doesn't appear to be the case.

I don't think this pattern indicates a widespread use. We don't know which
versions of postgres these come from, when these columns were installed and how
stale the data is (if there is data at all). If a service provider at some
point in time included a small demo database when provisioning a new cluster
this could skew the numbers like this.

It seems hard to imagine that modern apps use the money type at all, and unless
there is a popular ORM that actively used it I would be surprised if even
semi-modern apps use it.

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2026-12-04 20:54:02 Re: [PATCH] Clarify that ssl_groups is for any key exchange groups
Previous Message Ivan Alekseev 2026-12-04 20:53:01 Re: [PATCH] Release replication slot on error in SQL-callable slot functions