Re: Rationalizing EXPLAIN VERBOSE output

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rationalizing EXPLAIN VERBOSE output
Дата
Msg-id 6268.1015813729@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Rationalizing EXPLAIN VERBOSE output  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Rationalizing EXPLAIN VERBOSE output  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Rationalizing EXPLAIN VERBOSE output  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> ... How hard would it be to get psql to
>> send notice output into a \g file?

> \g (and \o) send only the query results to a file.  The idea is that you
> want to save the results, but if there's a warning or error, you want to
> see it.  We could add alternative commands (\G and \O?) that save the
> notices and errors as well.  Not sure if this is useful beyond this
> application.  In non-interactive situations you'd usually use shell
> redirections to save all output.

The other possibility is to make EXPLAIN output look like a SELECT
result.  Not sure how hard this would be to do, but in the long run
I suppose that would be the direction to move in.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Allowing usernames in pg_hba.conf
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Rationalizing EXPLAIN VERBOSE output