Re: Submission Review: User control over psql error stream

Поиск
Список
Период
Сортировка
От Karl O. Pinc
Тема Re: Submission Review: User control over psql error stream
Дата
Msg-id 1356977487.10106.0@mofo
обсуждение исходный текст
Ответ на Re: Submission Review: User control over psql error stream  (Alastair Turner <bell@ctrlf5.co.za>)
Список pgsql-hackers
Hi Allastair,

On 12/28/2012 02:33:03 PM, Alastair Turner wrote:

> Sorry for the slow reply ...

Such is life.

> The discussion needs to be a little broader than stdout and stderr,
> there are currently three output streams from psql:
>  - stdout - prompts, not tabular output such as the results from \set
> and \c
>  - stderr - errors, notices, ...
>  - query output - result from queries and \ commands which return
> tables such as \l - this is what is currently piped or redirected by
> \o
>
> I see a patch like this adding a fourth - diagnostic output. While
> this would probably be the same as stderr initially but I think that
> the option to make them subtly different should be kept open.

What is the distinction between diagnostic output and stderr?
My thought would be to distinguish between the server error
stream and any errors that psql might generate.

(I have some thoughts on syntax but am not yet ready to respond
to your proposal.)

Regards,

Karl <kop@meme.com>
Free Software:  "You don't pay back, you pay forward."                -- Robert A. Heinlein




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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal: a width specification for s specifier (format function), fix behave when positional and ordered placeholders are used
Следующее
От: Pavel Stehule
Дата:
Сообщение: unexpected query result on hot standby server