pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: George Weaver <georgew1@mts.net>
To: pgsql-sql@postgresql.org
Subject: Capturing pgsql ERRORS/NOTICES to file
Date: Fri, 26 Sep 2003 13:00:00 -0500
Message-ID: <001f01c38458$7865c5b0$560fa18e@cleartag> (raw)

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

view thread (5+ messages)  latest in thread

Message-ID: <001f01c38458$7865c5b0$560fa18e@cleartag>
Permalink:  ../001f01c38458$7865c5b0$560fa18e@cleartag/
Also on:    postgresql.org/message-id/001f01c38458$7865c5b0$560fa18e@cleartag

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: georgew1@mts.net
  Subject: Re: Capturing pgsql ERRORS/NOTICES to file
  In-Reply-To: <001f01c38458$7865c5b0$560fa18e@cleartag>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox