Re: SQL return value... - Mailing list pgsql-novice

From Michael Glaesemann
Subject Re: SQL return value...
Date
Msg-id AC1A4F58-F955-4DD7-8FEF-9DFE052C61E9@myrealbox.com
Whole thread Raw
In response to SQL return value...  ("Cristian Prieto" <cristian@clickdiario.com>)
List pgsql-novice
On Oct 20, 2005, at 3:24 , Cristian Prieto wrote:

> This is maybe a really newbie question, but, when I have an SQL
> function like that:
>
>
>
> $$
>
> Insert into mytable (id, name) values ($1, $2);
>
> $$
>
>
>
> What return value suppose to return?
>
>

Anything you want :). If you don't want to return anything, you can
use RETURNS VOID

Michael Glaesemann
grzm myrealbox com




pgsql-novice by date:

Previous
From:
Date:
Subject: Re: FATAL: missing or erroneous pg_hba.conf file
Next
From: "Gan Uesli Starling"
Date:
Subject: Array elem as foreign key?