Re: psql \watch 2nd argument: iteration count - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: psql \watch 2nd argument: iteration count
Date
Msg-id CAAhFRxjqiW_2C_FRAgHTArAAQckMfEebXs3ko61O_THQd5PZxA@mail.gmail.com
Whole thread Raw
In response to Re: psql \watch 2nd argument: iteration count  (Stephen Frost <sfrost@snowman.net>)
Responses Re: psql \watch 2nd argument: iteration count
List pgsql-hackers
> > > 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.
> >
> > That should probably be fixed.
>
> And should probably be independent patches.
>

PFA 2 independent patches.

Also, I've fixed a place to break after an iteration. Now if we have
e.g. 2 iterations - there will be only 1 sleep time.

Thanks!


Best regards, Andrey Borodin.

Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: meson: Optionally disable installation of test modules
Next
From: Dean Rasheed
Date:
Subject: Missing cases from SPI_result_code_string()