Merlin Moncure <mmoncure@xxxxxxxxx> writes: > On Mon, Feb 29, 2016 at 12:47 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: >> FWIW, PG >= 9.5 will ignore a LIMIT 1 inside an EXISTS, so that you get >> the same plan with or without it. But that does act as an optimization >> fence in earlier releases. > Does 'offset 0' still work as it did? Yes. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance