Re: proposal - psql - possibility to redirect only tabular output

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal - psql - possibility to redirect only tabular output
Дата
Msg-id CAFj8pRBhdD5uKMmJ27Uj9HfryUeg8d6xZwwVHVVPgPtyZ1pgqQ@mail.gmail.com
обсуждение исходный текст
Ответ на proposal - psql - possibility to redirect only tabular output  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: proposal - psql - possibility to redirect only tabular output
Список pgsql-hackers


so 11. 4. 2020 v 8:54 odesílatel Pavel Stehule <pavel.stehule@gmail.com> napsal:
Hi

Now, the content of redirect output has two parts

1. tabular output
2. cmd tags

There is a problem with command tags, because it is specific kind of information and can be nice if can be redirected to stdout every time like \h output. There can be new psql variable like REDIRECTED_OUTPUT with possibilities (all, tabular)

What do you think about this?

or different method - set target of status row - with result (default) or stdout (terminal)

patch assigned

When I pin status rows just to stdout, then redirected output contains only query results

Regards

Pavel


Pavel
Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: relcache leak warnings vs. errors
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: relcache leak warnings vs. errors