Re: pg_analyser uptime problem

From: DAROLD Gilles <gilles(at)darold(dot)net>
To: Andy Burns <andy(at)burns(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_analyser uptime problem
Date: 2001-09-08 22:40:59
Message-ID: 3B9A9E7B.FB46042F@darold.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Andy,

Thanks for your report, it was a silly bug. I send you a patch that correct

the problem.

The last postmaster starting date is now retrieved from the last
modification
date of the unix socket (generaly /tmp/.s.PGSQL.5432) and updated if a
postmaster start line is found in the log file.

You can change the path and filename to the unix socket into the
configuration
file with adding an option like this:

sock_file /tmp/.s.PGSQL.5432

Notes that here it's the default value so you can not declare this option.

The distribution will be updated next week...

Regards,

Gilles Darold

Attachment Content-Type Size
pg_log-uptime.patch text/plain 1.9 KB

Browse pgsql-general by date

  From Date Subject
Next Message Kurt Miller 2001-09-09 00:25:14 postmaster dies - what is output-meta?
Previous Message Marc G. Fournier 2001-09-08 18:15:25 Re: Idea: jobs.postgresql.org