Re: table lookup for pg_stat_progress_vacuum doesn't work

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: table lookup for pg_stat_progress_vacuum doesn't work
Дата
Msg-id 1e423dc63670ab2a01ee23f78337767b0c630326.camel@cybertec.at
обсуждение исходный текст
Ответ на table lookup for pg_stat_progress_vacuum doesn't work  (<Uwe.deReuter@t-systems.com>)
Ответы AW: table lookup for pg_stat_progress_vacuum doesn't work
Список pgsql-admin
On Wed, 2020-12-16 at 07:25 +0000, Uwe.deReuter@t-systems.com wrote:
> We want to lookup the table name for entries we see in pg_stat_progress_vacuum.
> When we do this based on relid from pg_stat_progress_vacuum we don’t find an
>  entry in the pg_class table (no match where pg_stat_progress_vacuum.relid=pg_class.oid).
> Should that happen at all and where can I do the lookup if not in pg_class ?

The table is probably in a database different from the one you are connected to.
Look at the "datname" column.

Every database has its own catalog tables.

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




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

Предыдущее
От:
Дата:
Сообщение: table lookup for pg_stat_progress_vacuum doesn't work
Следующее
От:
Дата:
Сообщение: AW: table lookup for pg_stat_progress_vacuum doesn't work