Re: Patch for - Allow server logs to be remotely read

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Dhanaraj(dot)M(at)Sun(dot)COM, pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch for - Allow server logs to be remotely read
Date: 2006-06-09 09:34:23
Message-ID: 4489409F.7070005@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Pflug 2006-06-09 09:37:35 Re: Patch for - Allow server logs to be remotely read
Previous Message Philippe Lang 2006-06-09 06:43:51 pgxml & xpath_table