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?
Either return "void" or return "boolean" and add a "SELECT true;"
statement to the end of your function.
In response to
pgsql-novice by date
|Next:||From: Gan Uesli Starling||Date: 2005-10-20 20:00:04|
|Subject: Array elem as foreign key?|
|Previous:||From: Michael Glaesemann||Date: 2005-10-19 22:33:30|
|Subject: Re: SQL return value...|
pgsql-general by date
|Next:||From: Richard Huxton||Date: 2005-10-20 07:38:22|
|Subject: Re: From oracle to postgresql...|
|Previous:||From: Richard Huxton||Date: 2005-10-20 07:30:54|
|Subject: Re: server , client encoding issue|