Re: Request - repeat value of \pset title during \watch interations

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Request - repeat value of \pset title during \watch interations
Date: 2016-03-21 19:01:28
Message-ID: 20160321190128.GA406025@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

David G. Johnston wrote:

> Tom doesn't care enough to veto and you don't really care...
>
> I'll admit it's awkward because it's abbreviated but if someone enters
> \watch 5 and then sees (5s) in the title I think they can put two and two
> together.
>
> If the watched query takes a long to run, or there is a disruption, knowing
> when the last one ran and how often it is supposed to run is useful info to
> have at ones fingertips. I have done this myself occasionally so I'm not
> speaking from theory. But I won't complain if its removed.

I like David's UI better FWIW.

(I'll also use this opportunity to complain again about not being able
to use floating point sleep time.)

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2016-03-21 19:11:21 Re: Request - repeat value of \pset title during \watch interations
Previous Message David G. Johnston 2016-03-21 18:51:53 Re: Request - repeat value of \pset title during \watch interations

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-03-21 19:01:48 Re: pgbench - allow backslash-continuations in custom scripts
Previous Message David G. Johnston 2016-03-21 18:51:53 Re: Request - repeat value of \pset title during \watch interations