From: Tom Lane <tgl@sss.pgh.pa.us>
To: ajeru@topolyte.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7528: Spurious empty log file created
Date: Mon, 10 Sep 2012 12:09:33 -0400
Message-ID: <24642.1347293373@sss.pgh.pa.us> (raw)
In-Reply-To: <E1TB5YC-00080h-Qv@wrigleys.postgresql.org>
References: <E1TB5YC-00080h-Qv@wrigleys.postgresql.org>
ajeru@topolyte.com writes:
> After removing all files from pg_log and relaunching the postgres server,
> pg_log contains two files instead of one: pg-xxx.log and pg-xxx.csv.
> According to the documentation, only pg-xxx.csv should exist.
Not sure where you read that, but the plain log file is always created.
It's there to support code that might randomly write on stderr, for
instance third-party code such as Perl.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, ajeru@topolyte.com
Subject: Re: BUG #7528: Spurious empty log file created
In-Reply-To: <24642.1347293373@sss.pgh.pa.us>
References: <E1TB5YC-00080h-Qv@wrigleys.postgresql.org> <24642.1347293373@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox