Re: Per-role disabling of LEAKPROOF requirements for row-level security? - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Per-role disabling of LEAKPROOF requirements for row-level security?
Date
Msg-id aFCM8QuMUArmY819@nathan
Whole thread Raw
In response to Re: Per-role disabling of LEAKPROOF requirements for row-level security?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Jun 16, 2025 at 01:36:20PM -0400, Tom Lane wrote:
> There might be a genuine hazard if something thinks it can substitute
> use of enum_cmp for enum_eq, as indeed would happen in e.g. mergejoin.

Hm.  Wouldn't that be a mergejoin bug?  I guess I'm not sure how to
reconcile the leakproof criteria in the documentation with the idea that
we can't mark a suite of functions as leakproof if any individual one isn't
leakproof.

-- 
nathan



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Allow pg_dump --statistics-only to dump foreign table statistics?
Next
From: Nathan Bossart
Date:
Subject: Re: Improve CRC32C performance on SSE4.2