| От | Nathan Bossart |
|---|---|
| Тема | Re: psql \watch 2nd argument: iteration count |
| Дата | |
| Msg-id | 20230309192526.GA3703231@nathanxps13 обсуждение исходный текст |
| Ответ на | Re: psql \watch 2nd argument: iteration count (Andrey Borodin <amborodin86@gmail.com>) |
| Ответы |
Re: psql \watch 2nd argument: iteration count
|
| Список | pgsql-hackers |
+ pg_log_error("Watch period must be non-negative number, but argument is '%s'", opt);
After looking around at the other error messages in this file, I think we
should make this more concise. Maybe something like
pg_log_error("\\watch: invalid delay interval: %s", opt);
+ free(opt);
+ resetPQExpBuffer(query_buf);
+ return PSQL_CMD_ERROR;
Is this missing psql_scan_reset(scan_state)?
I haven't had a chance to look closely at 0002 yet.
--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера