From: | Conrad Lender <crlender(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: "No transaction in progress" warning |
Date: | 2009-05-07 14:42:40 |
Message-ID: | 4A02F360.30507@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 07/05/09 15:58, Tom Lane wrote:
> What seems most likely is that you're looking at the wrong log file.
> Recheck the "where to log" settings.
Thanks, Adrian and Tom,
you were right, I wasn't looking at the correct file.
My postgresql.conf has:
log_directory = '/var/log/postgresql'
log_filename = 'postgresql-8.3-main.log'
The server startup messages were in this file (which is why I assumed it
was the correct one), but for some reason after a restart the logs were
created as
/var/log/postgresql/postgresql-8.3-main.log.1241706461
I've moved away all the old files, but every time I restart (using the
/etc/init.d/postgres script), new log files with a timestamp are
created. AFAICS, there are no open filehandles or locks left pointing to
'/var/log/postgresql/postgresql-8.3-main.log'.
Well, at least now I know where to look for the warnings.
Thanks,
- Conrad
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2009-05-07 14:56:33 | Re: "No transaction in progress" warning |
Previous Message | Luigi N. Puleio | 2009-05-07 14:35:23 | A question about RAISE NOTICE |