> > > 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.
v2-0001-Fix-incorrect-argument-handling-in-psql-watch.patch
Description: Binary data
v2-0001-Add-iteration-count-argument-to-psql-watch-comman.patch
Description: Binary data