Mini improvement: statement_cost_limit - Mailing list pgsql-hackers

From Hans-Jürgen Schönig
Subject Mini improvement: statement_cost_limit
Date
Msg-id 7B652A74-7D53-4A61-9DC8-1196A33A2FC3@cybertec.at
Whole thread Raw
Responses Re: Mini improvement: statement_cost_limit  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
hello ...

i picked up csaba nagy's idea and implemented a very simple yet very
useful extension.
i introduced a GUC called statement_cost_limit which can be used to
error out if a statement is expected to be too expensive.
the advantage over statement_timeout is that we are actually able to
error out before spending many seconds which is killed by
statement_timeout anyway.

    best regards,

        hans




--
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: www.postgresql-support.de


Attachment

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Parsing of pg_hba.conf and authentication inconsistencies
Next
From: Andrew Dunstan
Date:
Subject: Re: Mini improvement: statement_cost_limit