Define function with no return value?

From: "Haron, Charles" <Charles(dot)Haron(at)Cognitive(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Define function with no return value?
Date: 2003-08-29 21:22:36
Message-ID: 2F088590EE5CD5118EB700A0C9EBD1800843E8@co-mail.cognitive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Is it posible to define a function with no return value?

I've something like "CREATE FUNCTION set_to_active(int4) RETURNS NULL AS
..." but I get an parse error at or near "NULL"

Thanks,
Chuck

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-08-29 21:25:04 Re: Define function with no return value?
Previous Message Priya G 2003-08-29 21:08:52 Re: How to read a sequence without incrementing it?