Re: BUG #7528: Spurious empty log file created - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #7528: Spurious empty log file created
Date
Msg-id 24642.1347293373@sss.pgh.pa.us
Whole thread Raw
In response to BUG #7528: Spurious empty log file created  (ajeru@topolyte.com)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: ajeru@topolyte.com
Date:
Subject: BUG #7528: Spurious empty log file created
Next
From: Mike Toews
Date:
Subject: initdb.exe changes --locale option