Read Postgres Log remotely - Mailing list pgsql-admin

From Eduardo Sá dos Reis
Subject Read Postgres Log remotely
Date
Msg-id 982D5F2869644B77AB1A5A5FCBF449CD@P01157228
Whole thread Raw
In response to Re: PostgreSQL db  (Kevin Grittner <kgrittn@ymail.com>)
Responses 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:

pg_read_file select ('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: Tom Lane
Date:
Subject: Re: Question re privileges on extensions
Next
From: Eduardo Sá dos Reis
Date:
Subject: Read Postgres Log remotely