Re: BUG #7814: Rotation of the log is not carried out.

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Tsunezumi <tsunezumi(at)efficlabo(dot)com>
Cc: Kevin Grittner <kgrittn(at)mail(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #7814: Rotation of the log is not carried out.
Date: 2013-01-22 22:59:18
Message-ID: CAMkU=1zJN6-PrqSjmEbzL+S+zFWJg-iE-ZBnKDuND++r+ymnXA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Tue, Jan 22, 2013 at 4:42 AM, Tsunezumi <tsunezumi(at)efficlabo(dot)com> wrote:
> Thank you.
>
> I send the picture of a screen.
>

Thanks.

For what it is worth, I can reproduce this on Windows 7, using the
9.2.2 and 9.1.7 windows 64 installers from EDB (i.e.
http://www.enterprisedb.com/postgresql-922-installers-win64?ls=Crossover&type=Crossover),
with completely default installation (EDB changes the default to be
logging_collector=on), and using the below to blow up the log files
with error messages:

perl -le 'print "FOO$_;" foreach 1..1e7' | psql

9.1.7 rotates the log files in $DATA/pg_log, while 9.2.2 does not
rotate based on size.

PostgreSQL 9.1.7, compiled by Visual C++ build 1500, 64-bit
PostgreSQL 9.2.2, compiled by Visual C++ build 1600, 64-bit

I do not see the problem under 9.2.2 on Linux, it rotates as expected
(after turning logging_collector on)

PostgreSQL 9.2.2 on x86_64-unknown-linux-gnu, compiled by gcc (GCC)
4.4.6 20120305 (Red Hat 4.4.6-4), 64-bit

Cheers,

Jeff

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Farina 2013-01-22 23:26:32 Re: BUG #7820: Extension uuid-ossp cannot be installed on Windows - getting syntax error
Previous Message Jan-Peter Seifert 2013-01-22 22:51:09 Re: BUG #7820: Extension uuid-ossp cannot be installed on Windows - getting syntax error

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Lawrence Barwick 2013-01-22 23:05:03 Re: psql: small patch to correct filename formatting error in '\s FILE' output
Previous Message Cédric Villemain 2013-01-22 22:47:25 Re: Request for vote to move forward with recovery.conf overhaul