Re: \watch stuck on execution of commands returning no tuples
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: \watch stuck on execution of commands returning no tuples |
| Дата | |
| Msg-id | 23616.1367503288@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | \watch stuck on execution of commands returning no tuples (Michael Paquier <michael.paquier@gmail.com>) |
| Ответы |
Re: \watch stuck on execution of commands returning no
tuples
Re: \watch stuck on execution of commands returning no tuples |
| Список | pgsql-hackers |
Michael Paquier <michael.paquier@gmail.com> writes:
> Hi all,
> When testing \watch, I noticed that process waits indefinitely when
> executing it with a DDL or a DML.
> For example:
> postgres=# CREATE TABLE aa (a int);
> postgres=# ANALYSE aa \watch 10
> -- Process waiting here
It's not "waiting", it's doing the ANALYZE once every ten seconds,
just like you told it to.
Perhaps it'd be a good idea to emit the command tag on receiving a
non-tuple-bearing result, just to make this more obvious.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера