Re: Change request - log line prefix

From: Chris Angelico <rosuav(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Change request - log line prefix
Date: 2012-05-31 05:19:15
Message-ID: CAPTjJmpphKtg6-PwbanZSKPZuZvGLo18Q4T9XNav6m2tSkx1dg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Thu, May 31, 2012 at 2:05 PM, Evan Rempel <erempel(at)uvic(dot)ca> wrote:
> Even when the wrap column is set to a very large value (32k) STATEMENT lines still wrap according to the line breaks in
> the original SQL statement.

The problem isn't so much the wrapping, it seems, as that your
statements' line breaks are being propagated through. So as a possible
alternative solution, perhaps there could be an option to replace
newlines with spaces before the line goes to the log?

ChrisA

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Evan Rempel 2012-05-31 05:47:05 Re: Change request - log line prefix
Previous Message Tom Lane 2012-05-31 05:06:35 Re: Change request - log line prefix

Browse pgsql-general by date

  From Date Subject
Next Message Evan Rempel 2012-05-31 05:47:05 Re: Change request - log line prefix
Previous Message Tom Lane 2012-05-31 05:06:35 Re: Change request - log line prefix