From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, 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 18:09:02 |
Message-ID: | CAKFQuwYzmB8DRUDvJinmfwYLoV4PVzWO3jxKqtpz0aTmnMjiDA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Monday, March 21, 2016, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com <javascript:;>> 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.
> regression=# \set delay 5
> regression=# \pset title 'My Title (':delay' s)'
> Title is "My Title (5 s)".
> regression=# select repeat('xyzzy',12) \watch :delay
>
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-03-21 18:27:27 | Re: Request - repeat value of \pset title during \watch interations |
Previous Message | Tom Lane | 2016-03-21 18:03:17 | Re: postgresql timezone and OS localtime correspondence |
From | Date | Subject | |
---|---|---|---|
Next Message | David Rowley | 2016-03-21 18:18:35 | Re: Combining Aggregates |
Previous Message | Tomas Vondra | 2016-03-21 17:46:58 | Re: checkpointer continuous flushing |