Read Postgres Log remotely - Mailing list pgsql-admin

From Eduardo Sá dos Reis
Subject Read Postgres Log remotely
Date
Msg-id 80882A6B373D4F42B38B6A3407EE5BCD@P01157228
Whole thread Raw
In response to Read Postgres Log remotely  (Eduardo Sá dos Reis <eduardoreis@pjf.mg.gov.br>)
List pgsql-admin
Hi,

I need to read files postgres log remotely.
I'm using the command:

select pg_read_file('pg_log/postgresql-2014-06-11_000000.log' , 0 ,
10000000);

The result is just the first line of the file.

How do I read every line of the file?

Grateful.
Eduardo Reis




pgsql-admin by date:

Previous
From: Eduardo Sá dos Reis
Date:
Subject: Read Postgres Log remotely
Next
From: Amit Sharma
Date:
Subject: Re: PostgreSQL db