Mini improvement: statement_cost_limit

From: Hans-Jürgen Schönig <postgres(at)cybertec(dot)at>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Mini improvement: statement_cost_limit
Date: 2008-08-02 18:19:31
Message-ID: 7B652A74-7D53-4A61-9DC8-1196A33A2FC3@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Attachment Content-Type Size
statement_cost_limit1.patch application/octet-stream 4.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2008-08-02 18:35:06 Re: Mini improvement: statement_cost_limit
Previous Message Magnus Hagander 2008-08-02 17:36:40 Re: Parsing of pg_hba.conf and authentication inconsistencies