raise notice, psql and having some feedback from scripts

From: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>
To: pgsql General <pgsql-general(at)postgresql(dot)org>
Subject: raise notice, psql and having some feedback from scripts
Date: 2008-11-03 14:14:14
Message-ID: 20081103151414.46a57d73@dawn.webthatworks.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I just have some batch work in scripts that I pass through:

psql < script.sql &>script.log &

or may be run by cron.

In sql raise notice is not available. Is there any other way to send
messages to the logs without polluting them too much with -a?

--
Ivan Sergio Borgonovo
http://www.webthatworks.it

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Russ Brown 2008-11-03 14:18:15 Re: Performance of views
Previous Message Chris Butler 2008-11-03 13:37:06 Re: Connections getting stuck sending data to client (FIXED)