Re: setting for maximum acceptable plan cost? - Mailing list pgsql-general

From Tom Lane
Subject Re: setting for maximum acceptable plan cost?
Date
Msg-id 28423.1194040077@sss.pgh.pa.us
Whole thread Raw
In response to setting for maximum acceptable plan cost?  ("Jeffrey W. Baker" <jwbaker@acm.org>)
List pgsql-general
"Jeffrey W. Baker" <jwbaker@acm.org> writes:
> I was thinking that it might be nice to be able to tell postgres to
> refuse to execute any plan with an estimated cost above some threshold.

What you suggest has been suggested before, and I might think it was
a good idea if I trusted the planner's cost estimates more ;-)

There's always statement_timeout.

            regards, tom lane

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: setting for maximum acceptable plan cost?
Next
From: "Jeffrey W. Baker"
Date:
Subject: Re: setting for maximum acceptable plan cost?