Read Postgres Log remotely

Поиск
Список
Период
Сортировка
От Eduardo Sá dos Reis
Тема Read Postgres Log remotely
Дата
Msg-id 80882A6B373D4F42B38B6A3407EE5BCD@P01157228
обсуждение исходный текст
Ответ на Read Postgres Log remotely  (Eduardo Sá dos Reis <eduardoreis@pjf.mg.gov.br>)
Список 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 по дате отправления:

Предыдущее
От: Eduardo Sá dos Reis
Дата:
Сообщение: Read Postgres Log remotely
Следующее
От: Amit Sharma
Дата:
Сообщение: Re: PostgreSQL db