Re: RFC: Logging plan of the running query

Поиск
Список
Период
Сортировка
От Étienne BERSAC
Тема Re: RFC: Logging plan of the running query
Дата
Msg-id 6d13f7485091f51ad7d11cb7c65f75038c10d747.camel@dalibo.com
обсуждение исходный текст
Ответ на Re: RFC: Logging plan of the running query  (torikoshia <torikoshia@oss.nttdata.com>)
Ответы Re: RFC: Logging plan of the running query  (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>)
Список pgsql-hackers
> Hi,
>

> If we use client log message, that message is shown on the target
> process whose pid is specified by the parameter of
> pg_log_query_plan():
>
>    (pid:1000)=# select pg_sleep(60);
>    (pid:1001)=# select pg_log_query_plan(1000);
>    (pid:1000)=# LOG:  query plan running on backend with PID 1000 is:
>                 Query Text: select pg_sleep(1000);
>                 Result  (cost=0.00..0.01 rows=1 width=4)
>                   Output: pg_sleep('1000'::double precision)
>
> I think this is not an expected behavior and we set elevel to
> LOG_SERVER_ONLY.


Makes sens. Thanks.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: btree_gin: Incorrect leftmost interval value
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: btree_gin: Incorrect leftmost interval value