Search Postgresql Archives

Re: remove log header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Sabin Coanda" <sabin.coanda@xxxxxxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux