[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgsql-hackers
Subject:    Re: [HACKERS] Submission Review: User control over psql error stream
From:       "Karl O. Pinc" <kop () meme ! com>
Date:       2012-12-31 18:11:27
Message-ID: 1356977487.10106.0 () mofo
[Download RAW message or body]

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



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic