Re: BUG #7528: Spurious empty log file created

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ajeru(at)topolyte(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7528: Spurious empty log file created
Date: 2012-09-10 16:09:33
Message-ID: 24642.1347293373@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

ajeru(at)topolyte(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message legoharyanto 2012-09-10 20:22:52 BUG #7529: Support different error handling behavior than auto rollback
Previous Message ajeru 2012-09-10 15:05:24 BUG #7528: Spurious empty log file created