Running a void function in psql - Mailing list pgsql-general

From Eric Brown
Subject Running a void function in psql
Date
Msg-id 7C26349F-6425-11D9-94E2-000A95C7176C@propel.com
Whole thread Raw
Responses Re: Running a void function in psql
List pgsql-general
I run 'psql -f mycreatedb.sql' to setup things for my program.
It has to run a few stored procedures after they're created. However, I
do this by 'SELECT f(...);'. When I do this though, it prints out a
bunch of rubbish like:
f
------

(1 row)

How do I get rid of this rubbish? I just want to see errors or
NOTICE/INFO strings I intentionally log.

Thanks.


Eric Brown
408-571-6341
www.propel.com

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Modifying search_path in a stored procedure
Next
From: Roman Neuhauser
Date:
Subject: int4 -> unix timestamp -> sql timestamp; abstime?