Re: [PATCH] Use ssup_datum_*_cmp for int2, oid, and oid8 sort support

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: John Naylor <johncnaylorls(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Baji Shaik <baji(dot)pgdev(at)gmail(dot)com>
Subject: Re: [PATCH] Use ssup_datum_*_cmp for int2, oid, and oid8 sort support
Date: 2026-07-23 16:26:16
Message-ID: CAN4CZFM2afRzSLJJiWKnRjqPwL7Scm2Wd1xXu140diJGuJtzGg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

I think this commit caused a regression with OIDs >= 2**31:

CREATE TABLE t (o oid);
INSERT INTO t VALUES ('2147483648');
SELECT o FROM t UNION ALL SELECT '3000000000'::oid ORDER BY 1;

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2026-07-23 16:28:37 Re: Historic snapshot doesn't track txns committed in BUILDING_SNAPSHOT state
Previous Message Matheus Alcantara 2026-07-23 16:09:18 Re: hashjoins vs. Bloom filters (yet again)