Running functions that return void in psql

From: Eric Brown <eric(dot)brown(at)propel(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Running functions that return void in psql
Date: 2004-12-15 08:19:14
Message-ID: 019AC758-4E72-11D9-991E-000A95C7176C@propel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've got quite a few plpgsql functions that insert, update or delete.
They're all declared to return void. All other functions, I can just
run 'select f(...);' from psql to test them. I don't understand how to
test these ones that return void from psql. Thanks.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2004-12-15 08:43:36 Re: Running functions that return void in psql
Previous Message Michael Fuhr 2004-12-15 06:47:19 Re: catching script errors in PSQL and redirecting to file?