BUG #3660: unused empty file is created with csvlog

From: "Thomas Reiss" <thomas(dot)reiss(at)interieur(dot)gouv(dot)fr>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3660: unused empty file is created with csvlog
Date: 2007-10-09 11:53:17
Message-ID: 200710091153.l99BrH6V013677@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3660
Logged by: Thomas Reiss
Email address: thomas(dot)reiss(at)interieur(dot)gouv(dot)fr
PostgreSQL version: 8.3 beta 1
Operating system: Linux
Description: unused empty file is created with csvlog
Details:

Hello,

I just tried the csvlog logging method.
I set the following :
log_destination = 'csvlog'
logging_collector = on
log_filename = 'postgresql-%u'

At server start, PostgreSQL creates a file called "postgresql-2" (for today)
and a file "postgresql-2.csv".
File "postgresql-2" is empty and never used again, whereas
"postgresql-2.csv" contains the logs.

If log_filename is set to 'postgresql-%u.csv', PostgreSQL creates two files
too: postgresql-2.csv and postgresql-2.csv.csv and uses the second one.

Regards,
Thomas

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2007-10-09 13:17:19 Re: BUG #3660: unused empty file is created with csvlog
Previous Message Tiago Daniel Jacobs 2007-10-08 19:41:25 Re: BUG #3657: Performance leaks when using between of two equal dates