Re:Making auto_explain more useful / convenient

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: Vladimir Churyukin <vladimir(at)churyukin(dot)com>
Cc: pghackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re:Making auto_explain more useful / convenient
Date: 2023-11-11 10:43:47
Message-ID: 2228741699699427@o5ump4w73ck7ppml.iva.yp-c.yandex.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

auto_explain.log_level is available since postgresql 12.

postgres=# load 'auto_explain';
LOAD
postgres=# set auto_explain.log_min_duration to 0;
SET
postgres=# set auto_explain.log_level to 'notice';
SET
postgres=# select 1;
NOTICE: duration: 0.010 ms plan:
Query Text: select 1;
Result (cost=0.00..0.01 rows=1 width=4)
?column?
----------
1

regards, Sergei

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christoph Berg 2023-11-11 11:53:37 Re: pgsql: Don't trust unvalidated xl_tot_len.
Previous Message Dmitry Koval 2023-11-11 10:26:03 Re: Add SPLIT PARTITION/MERGE PARTITIONS commands