> I am trying to learn pspgsql but I am not having a lot of luck.
> I have written a function but I keep getting the error missing... at end of
> sql expression. Can anyone help!
What it's really unhappy about is that you failed to declare the FOR
variable; this is causing it to assume that the FOR is the integer
variant (FOR i IN low .. high).
The error message is pretty confusing, I agree. I think 8.0 will
regards, tom lane
In response to
pgsql-sql by date
|Next:||From: Michael Fuhr||Date: 2004-11-22 01:09:18|
|Subject: Re: missing... at end of sql expression|
|Previous:||From: André Toscano||Date: 2004-11-21 23:07:48|
|Subject: Functions return a select in a table, which data type I must use?