Re: Request - repeat value of \pset title during \watch interations - Mailing list pgsql-general

From Robert Haas
Subject Re: Request - repeat value of \pset title during \watch interations
Date
Msg-id CA+TgmoasmdUxqkQip+dir=7JvGy78q_52T7FHM+r8619VPvjcw@mail.gmail.com
Whole thread Raw
In response to Re: Request - repeat value of \pset title during \watch interations  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Request - repeat value of \pset title during \watch interations
List pgsql-general
On Mon, Mar 21, 2016 at 2:09 PM, David G. Johnston
<david.g.johnston@gmail.com> wrote:
> On Monday, March 21, 2016, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> "David G. Johnston" <david.g.johnston@gmail.com> writes:
>> > I'd rather not omit sleep but removing "Watch every" is fine (preferred
>> > actually), so:
>> > Title Is Here     Mon Mar 21 15:05:06 2016 (5s)
>>
>> Meh ... seems a bit awkward to me.  Couldn't you include " (5s)" in the
>> title, if you want that info?  If it's variable, you could still
>> accommodate that:
>
> Actually, only if it's a variable that you setup and repeat and you show.  A
> bit cumbersome and mixes the parts that are title and those that are present
> only because you are watching.

Ah, come on.  This doesn't really seem like an issue we should spend
more time quibbling about.  I think Tom's version is fine.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Request - repeat value of \pset title during \watch interations
Next
From: Tom Lane
Date:
Subject: Re: Slow GIN indexes after bulk insert