On Mon, Oct 06, 2003 at 10:42:57AM -0400, Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:

> > I had a new idea on output format.  Instead of converting newline to
> > "\n", and double-escaping backslashes, we add a tab after any newline,
> 
> That's a thought... seems less invasive than the backslashing.  Not sure
> how well it'll work for syslog output though.

Not good.  Some syslogs will replace the literal tab with a ^I.
Maybe it should be a bunch of spaces when using syslog.
It seems a good idea to me anyway.

How would it handle multiple fields?  Say
LOG: blah blah
DETAIL: something
HINT: something else

Will it be
LOG: blah blah
        DETAIL: something else
        HINT: something else
?

-- 
Alvaro Herrera (<[EMAIL PROTECTED]>)
"Find a bug in a program, and fix it, and the program will work today.
Show the program how to find and fix a bug, and the program
will work forever" (Oliver Silfridge)

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to