psql \watch 2nd argument: iteration count

Поиск
Список
Период
Сортировка
От Andrey Borodin
Тема psql \watch 2nd argument: iteration count
Дата
Msg-id CAAhFRxiZ2-n_L1ErMm9AZjgmUK=qS6VHb+0SaMn8sqqbhF7How@mail.gmail.com
обсуждение исходный текст
Ответы Re: psql \watch 2nd argument: iteration count  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
Hi hackers!

From time to time I want to collect some stats from locks, activity
and other stat views into one table from different time points. In
this case the \watch psql command is very handy. However, it's not
currently possible to specify the number of times a query is
performed.
Also, if we do not provide a timespan, 2 seconds are selected. But if
we provide an incorrect argument - 1 second is selected.
PFA the patch that adds iteration count argument and makes timespan
argument more consistent.
What do you think?


Best regards, Andrey Borodin.

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ATTACH PARTITION seems to ignore column generation status
Следующее
От: Andrey Borodin
Дата:
Сообщение: Re: [PATCH] Add pretty-printed XML output option