Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] For review: Server instrumentation patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>,Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>,PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>,Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Subject: Re: [HACKERS] For review: Server instrumentation patch
Date: 2005-08-12 22:21:56
Message-ID: 2077.1123885316@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
> So how would your query to display all all available _logfiles_
> look like?

I think it's perfectly reasonable to assume that all the files in the
log directory are logfiles --- more so than assuming that the admin
hasn't exercised his option to change the log filename pattern, anyway.

I also don't have a problem with using the file mod times to sort them.
Yes, you can break that if you go and poke the files --- but there's no
reason to do so, whereas there are many reasons for changing the log
filename pattern.

			regards, tom lane

In response to

Responses

pgsql-patches by date

Next:From: Alvaro HerreraDate: 2005-08-12 22:42:09
Subject: Re: [HACKERS] Autovacuum loose ends
Previous:From: Mark WongDate: 2005-08-12 22:16:04
Subject: Re: [HACKERS] Autovacuum loose ends

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group