Re: Query column null

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Query column null
Дата
Msg-id dcf256f9e9db553993c78770bc51b06c7f9a5194.camel@cybertec.at
обсуждение исходный текст
Ответ на Query column null  (Yambu <hyambu@gmail.com>)
Список pgsql-admin
On Thu, 2020-11-26 at 20:50 +0200, Yambu wrote:
> A strange thing is happening in my csv logs, i cannot see the query that ran whenever there is a duration in the
logs,is there something i'm missing?
 
>  
> When i run the below query it returns nothing
> 
> select message,query from postgres_log where message ilike '%duration%' and query is not null limit 1;
> 
> Note: I loaded the csv logs into postgres_log table.

Hard to say with that information, but perhaps you set "log_duration = on".

If you use "log_min_duration_statement = 0", you might get what you want.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




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

Предыдущее
От: Nikhil Shetty
Дата:
Сообщение: Re: Swapping master and slave
Следующее
От: Kanninen Anssi EXT
Дата:
Сообщение: Working systemd script?