On Wed, 10 Apr 2024 at 20:06, Tom Lane <t...@sss.pgh.pa.us> wrote: > Really? ISTM this argument is ignoring an optimization the backend > has understood for a long time.
Interesting. I didn't know about that optimization. I can't check right now, but probably the COLLATE breaks that optimization.