Re: postgres in container, redirect csvlog to stderr

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Filip Rembiałkowski <filip(dot)rembialkowski(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: postgres in container, redirect csvlog to stderr
Date: 2021-04-19 13:57:24
Message-ID: 208289.1618840644@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?UTF-8?Q?Filip_Rembia=C5=82kowski?= <filip(dot)rembialkowski(at)gmail(dot)com> writes:
> Is it possible to emit csvlog to standard output/error?

No. We assume that random third-party code might write plain text messags
to stderr, so trying to impose a format on that wouldn't be very
successful.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2021-04-19 14:09:12 Re: could not read from hash-join temporary file: SUCCESS && DB goes into recovery mode
Previous Message Tom Lane 2021-04-19 13:53:51 Re: could not read from hash-join temporary file: SUCCESS && DB goes into recovery mode