| От | Tom Lane |
|---|---|
| Тема | Re: [DOCS] RAISE INFO and client_min_messages |
| Дата | |
| Msg-id | 19771.1490279948@sss.pgh.pa.us обсуждение |
| Ответ на | [DOCS] RAISE INFO and client_min_messages (Pavel Luzanov <p.luzanov@postgrespro.ru>) |
| Ответы |
Re: [DOCS] RAISE INFO and client_min_messages
|
| Список | pgsql-docs |
Pavel Luzanov <p.luzanov@postgrespro.ru> writes:
> When working with RAISE statement in PL/pgSQL, I found a strange
> situation with client_min_messages.
> According to the documentation, client_min_messages does not include the
> value 'INFO'.
Indeed. INFO messages cannot be suppressed by client_min_messages.
The reason is that they are emitted by commands like VACUUM VERBOSE,
where (presumably) the entire reason the user said VERBOSE is that
she wanted to see those messages.
I do not recommend using INFO in "RAISE" except in cases similar
to that one.
regards, tom lane
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера