psql \watch always ignores \pset null

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема psql \watch always ignores \pset null
Дата
Msg-id CAHGQGwF6GM1-jRVki4FjHemynkbNsi5G9yxDB4gTJhB7B6RhFA@mail.gmail.com
обсуждение исходный текст
Ответы Re: psql \watch always ignores \pset null  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

>    /*
>     * Set up rendering options, in particular, disable the pager, because
>     * nobody wants to be prompted while watching the output of 'watch'.
>     */
>    myopt.nullPrint = NULL;
>    myopt.topt.pager = 0;

I found psql's \watch command always ignores \pset null setting.
The above source code comment explains why it does,
but I'd like to see the specified string for null value even in \watch's
output, in order to distinguish null and an empty value. Thought?
Is there any reason why \watch must ignore \pset null setting?

Regards,

-- 
Fujii Masao



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: pg_receivexlog --status-interval add fsync feedback
Следующее
От: Rajeev rastogi
Дата:
Сообщение: Multiple call of GetTransactionSnapshot in single flow