Re: fix log_min_duration_statement logic error - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: fix log_min_duration_statement logic error
Date
Msg-id 200310061546.h96FkXh28554@candle.pha.pa.us
Whole thread Raw
In response to Re: fix log_min_duration_statement logic error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Alvaro Herrera Munoz <alvherre@dcc.uchile.cl> writes:
> >> Bruce Momjian <pgman@candle.pha.pa.us> 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,
>
> > Not good.  Some syslogs will replace the literal tab with a ^I.
>
> That seems okay.  We just want to make sure continuation lines are
> easily distinguishable.  (But leading spaces would be okay with me too.)

Agreed.  It is easy to strip off the tab to rebuild the original query
--- striping off 8 spaces seems less logical.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Euler Taveira de Oliveira
Date:
Subject: brazilian portuguese translations
Next
From: Peter Eisentraut
Date:
Subject: Re: brazilian portuguese translations