pg_stat_activity.query empty

Поиск
Список
Период
Сортировка
От Robert Lichtenberger
Тема pg_stat_activity.query empty
Дата
Msg-id ad84086a-12fc-f1e7-a24e-c24674a745d8@synedra.com
обсуждение исходный текст
Ответы Re: pg_stat_activity.query empty  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
When executing "SELECT * FROM pg_stat_activity" I get lots of rows that 
have an empty "query" column.

According to [1] this column should contain the "Text of this backend's 
most recent query", either a query that is currently running or the last 
query that was executed.

So how comes that a lot of the rows in pg_stat_activity have an empty 
"query"?


https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW






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

Предыдущее
От: Jian He
Дата:
Сообщение: range of composite types!
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: pg_stat_activity.query empty