Re: Predicate migration on complex self joins - Mailing list pgsql-hackers

From decibel
Subject Re: Predicate migration on complex self joins
Date
Msg-id 9E70B203-108C-4E94-8178-E6C6D737FD66@decibel.org
Whole thread Raw
In response to Re: Predicate migration on complex self joins  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Predicate migration on complex self joins
List pgsql-hackers
On Jul 13, 2009, at 1:06 PM, Simon Riggs wrote:
> Not just because of this but I wonder if we might benefit from an
> optimizer setting specifically aimed at the foolishnesses of
> automatically generated SQL.


+1. And it's not just ORMs that do stupid things, I've seen crap like  
this come out of users too (not this exact case, but similar).

Perhaps what we really want is an "optimization level" GUC so that  
users can tell the backend how much overhead they want the optimizer  
to spend on trying to work around stupidity... :)
-- 
Decibel!, aka Jim C. Nasby, Database Architect  decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828




pgsql-hackers by date:

Previous
From: Brendan Jurd
Date:
Subject: Re: [pgsql-www] Launching commitfest.postgresql.org
Next
From: decibel
Date:
Subject: Re: [RFC] obtaining the function call stack