Capturing pgsql ERRORS/NOTICES to file

From: "George Weaver" <georgew1(at)mts(dot)net>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Capturing pgsql ERRORS/NOTICES to file
Date: 2003-09-26 18:00:00
Message-ID: 001f01c38458$7865c5b0$560fa18e@cleartag
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I am in the process of creating a batch file that will update some functions in a database for a remote user similar to:

psql -o output dbname < functionupdate.sql

Is there any way to save any ERROR and NOTICE messages to a file?

The -o option doesn't capture this information.

Thanks,
George

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2003-09-26 18:33:57 Re: Capturing pgsql ERRORS/NOTICES to file
Previous Message Roberto Mello 2003-09-26 17:39:44 Re: Case Insensitive comparison