Re: remove log header

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: remove log header
Дата
Msg-id 590.1231258433@sss.pgh.pa.us
обсуждение исходный текст
Ответ на remove log header  ("Sabin Coanda" <sabin.coanda@deuromedia.ro>)
Список pgsql-general
"Sabin Coanda" <sabin.coanda@deuromedia.ro> writes:
> On Windows, I run a script batch file with psql, and I get any log line with
> the following pattern:
>             psql://<path_file_name>:4: NOTICE: <log_message>
> I'd like to remove the log header before NOTICE. What should I do ?

If you don't want line numbers at all, I think you can do

    psql database <scriptfile

so that psql doesn't know it's a script.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: "Grzegorz Jaśkiewicz"
Дата:
Сообщение: Re: Vacuum problems
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Vacuum problems