From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "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-01-28 04:13:56 |
Message-ID: | CAB7nPqTt+RyOz6KjfyeJb-rZLsTz9sR3c9=jFJVvQ9a8LK8uXw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Thu, Jan 28, 2016 at 9:34 AM, David G. Johnston
<david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
> So how about:
>
> + snprintf(title, strlen(myopt.title) + 50,
> + _("Watch every %lds\t%s\t%s"),
> + sleep, head_title, asctime(localtime(&timer)));
I would just keep the timestamp and the title separated so what do you
think about that instead?
Watch every Xs $timestamp
$head_title
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2016-01-28 04:54:30 | Re: Request - repeat value of \pset title during \watch interations |
Previous Message | Bill Moran | 2016-01-28 03:58:31 | Re: Catalog bloat (again) |
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2016-01-28 04:16:35 | Re: Fwd: Core dump with nested CREATE TEMP TABLE |
Previous Message | Robert Haas | 2016-01-28 04:08:25 | Re: extend pgbench expressions with functions |