Re: Patch for - Allow server logs to be remotely read - Mailing list pgsql-patches

From Andreas Pflug
Subject Re: Patch for - Allow server logs to be remotely read
Date
Msg-id 4489409F.7070005@pse-consulting.de
Whole thread Raw
In response to Re: Patch for - Allow server logs to be remotely read  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-patches
Alvaro Herrera wrote:
> Bruce Momjian wrote:
>
>>Uh, I just added /contrib/adminpack a few weeks ago to CVS, which does
>>this, and more.  Sorry I forgot to mark the TODO item as completed.
>
>
> Huh, how do you read files with adminpack?

try
select * from pg_logdir_ls() as (filetime timestamp, filename text)
and read the file you need.

Regards,
Andreas



pgsql-patches by date:

Previous
From: Dhanaraj M
Date:
Subject: Re: Patch for - Allow server logs to be remotely read
Next
From: Andreas Pflug
Date:
Subject: Re: Patch for - Allow server logs to be remotely read