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