Robert Haas <robertmh...@gmail.com> writes: > On Tue, Dec 17, 2013 at 12:28 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: >> (I wonder if it'd be worth inserting a check that >> there's not already a manually-generated equivalent clause, too ...)
> Sounds a little too clever IMHO. The argument for doing it is that we might otherwise find ourselves degrading the plans for previously-manually-optimized queries. On the other hand, the existing index-driven code has probably forestalled the need for many people to do that; at least, I don't recall seeing much discussion of doing that sort of thing by hand. I'm happy to leave the issue out of the first version of the patch, anyway. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers