Re: [HELP] Defining a function as a procedure

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Daniel Caune" <daniel(dot)caune(at)ubisoft(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [HELP] Defining a function as a procedure
Date: 2006-01-26 18:02:38
Message-ID: 22807.1138298558@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Daniel Caune" <daniel(dot)caune(at)ubisoft(dot)com> writes:
> Is there a way to define a function as a procedure, I mean a function
> that returns nothing.

In recent versions you can say RETURNS VOID, which is a bit of a hack
but it gets the point across...

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Kashmira Patel (kupatel) 2006-01-27 01:01:26 Question about check constraints
Previous Message J 2006-01-26 17:13:33 Re: Query optimization with X Y JOIN