Re: Logical Replication: SELECT pg_catalog.set_config Statement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Logical Replication: SELECT pg_catalog.set_config Statement
Дата
Msg-id 3046968.1621343738@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Logical Replication: SELECT pg_catalog.set_config Statement  (Hannes Kühtreiber <h.kuehtreiber@synedra.com>)
Список pgsql-general
=?UTF-8?Q?Hannes_K=c3=bchtreiber?= <h.kuehtreiber@synedra.com> writes:
> Hello Tom, thanks for your answer!
> We found out because we are monitoring long running queries, and saw it 
> had been running for a month before the restart yesterday.
> I just queried pg_stat_activity and it seems to be running since then.

Oh, that's because pg_stat_activity continues to show the last plain-SQL
query executed by the session.

I think we recently changed things so that replication commands
would be shown in pg_stat_activity too, but evidently you're running
a version older than that.

            regards, tom lane



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

Предыдущее
От: Hannes Kühtreiber
Дата:
Сообщение: Re: Logical Replication: SELECT pg_catalog.set_config Statement
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: