Re: strange plpgsql error - Mailing list pgsql-general

From Adrian Klaver
Subject Re: strange plpgsql error
Date
Msg-id 200910111501.38304.aklaver@comcast.net
Whole thread Raw
In response to Re: strange plpgsql error  (SunWuKung <Ralikwen@hotmail.com>)
Responses Re: strange plpgsql error
List pgsql-general
On Sunday 11 October 2009 2:48:02 pm SunWuKung wrote:
> Right,
> I replace the table alias irq to instreq and the function works.
> I don't know what could have been the problem: is irq a reserved word, or
> it's because the table alias has the same name then the function name.
>
> Thanks for pointing me to the right direction.
> SWK
>

It is not a reserved word
(http://www.postgresql.org/docs/8.4/interactive/sql-keywords-appendix.html).
My guess is it was the name conflict between the function name and the table
alias.


--
Adrian Klaver
aklaver@comcast.net

pgsql-general by date:

Previous
From: SunWuKung
Date:
Subject: Re: strange plpgsql error
Next
From: SunWuKung
Date:
Subject: Re: strange plpgsql error