Read Postgres Log remotely

Поиск
Список
Период
Сортировка
От Eduardo Sá dos Reis
Тема Read Postgres Log remotely
Дата
Msg-id 982D5F2869644B77AB1A5A5FCBF449CD@P01157228
обсуждение исходный текст
Ответ на Re: PostgreSQL db  (Kevin Grittner <kgrittn@ymail.com>)
Ответы 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:

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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Question re privileges on extensions
Следующее
От: Eduardo Sá dos Reis
Дата:
Сообщение: Read Postgres Log remotely