Re: [HACKERS] For review: Server instrumentation patch - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] For review: Server instrumentation patch
Date
Msg-id 6468.1123941783@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] For review: Server instrumentation patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [HACKERS] For review: Server instrumentation patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> What I can imagine making things very easy is a readonly GUC that returns
> the current log file name.

... which unfortunately is not going to happen since the backends can't
see inside the syslogger process to know what it's doing.

ATM I think the best you can do is look for the newest mod date among
the files in the log directory.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] For review: Server instrumentation patch
Next
From: Michael Fuhr
Date:
Subject: Re: [HACKERS] ECPG ignores SAVEPOINT if first statement of a transaction