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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Request - repeat value of \pset title during \watch interations
Дата
Msg-id CAB7nPqTt+RyOz6KjfyeJb-rZLsTz9sR3c9=jFJVvQ9a8LK8uXw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Request - repeat value of \pset title during \watch interations  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: Request - repeat value of \pset title during \watch interations  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
On Thu, Jan 28, 2016 at 9:34 AM, David G. Johnston
<david.g.johnston@gmail.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


В списке pgsql-general по дате отправления:

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: Catalog bloat (again)
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Request - repeat value of \pset title during \watch interations