Re: How to show current schema of running queries in postgresql 13

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: How to show current schema of running queries in postgresql 13
Дата
Msg-id CAFj8pRDZy6Ur6PXwmVTRah+XYgSw_714Yg2AxDn8RGtAPbtd=A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to show current schema of running queries in postgresql 13  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы 回复:How to show current schema of running queries in postgresql 13
Список pgsql-general


po 26. 6. 2023 v 9:19 odesílatel Pavel Stehule <pavel.stehule@gmail.com> napsal:
Hi



no, there is nothing for this purpose.

you can use application_name

so user can do

SET search_path=MySchema;
SET application_name = 'MySchema';
SELECT * FROM ...


and application name is visible from pg_stat_activity

regards

Pavel Stehule
 


 

Thank you!
Best regards,
CavonChen



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: How to show current schema of running queries in postgresql 13
Следующее
От: "Oduba, Ernest"
Дата:
Сообщение: PostgreSQL Commercial Support