postgres in container, redirect csvlog to stderr

From: Filip Rembiałkowski <filip(dot)rembialkowski(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: postgres in container, redirect csvlog to stderr
Date: 2021-04-19 10:44:49
Message-ID: CAP_rwwmGkr7pOKwiRqKDenGVTb1sTNAVb57VnP=yWR7T3VZpgg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi.

I'm running postgres in kubernetes.

Is it possible to emit csvlog to standard output/error?

I tried a naive & hacky work-around, by setting log_directory='/dev/fd' and
log_filename='2' - but it does not work.

Thanks!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Reid Thompson 2021-04-19 12:26:04 could not read from hash-join temporary file: SUCCESS && DB goes into recovery mode
Previous Message Condor 2021-04-19 10:20:19 Re: Question about contrib