Re: RETURNS SETOF primitive returns results in parentheses
От
Mario Splivalo
Тема
Re: RETURNS SETOF primitive returns results in parentheses
Дата
Msg-id
1130356674.18653.3.camel@localhost.localdomain
Ответ на
Список
Дерево обсуждения
RETURNS SETOF primitive returns results in parentheses Mario Splivalo <mario.splivalo@mobart.hr>
Re: RETURNS SETOF primitive returns results in parentheses Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: RETURNS SETOF primitive returns results in parentheses Tom Lane <tgl@sss.pgh.pa.us>
Re: RETURNS SETOF primitive returns results in parentheses Mario Splivalo <mario.splivalo@mobart.hr>
Re: RETURNS SETOF primitive returns results in parentheses Tom Lane <tgl@sss.pgh.pa.us>
Re: RETURNS SETOF primitive returns results in parentheses Mario Splivalo <mario.splivalo@mobart.hr>
Re: RETURNS SETOF primitive returns results in parentheses Sean Davis <sdavis2@mail.nih.gov>
Re: RETURNS SETOF primitive returns results in parentheses Mario Splivalo <mario.splivalo@mobart.hr>
On Wed, 2005-10-26 at 15:45 -0400, Tom Lane wrote: > Mario Splivalo writes: > > Wo-ha, makes perfect sense. So, I'd go by with declaring the rec as > > varchar, instead as of a record. Wich is what I should do in the first > > place. > > Or just return the correct field out of it. > > RETURN NEXT returnValue.fieldname; > > I think you may have to do it this way because the FOR loop wants a > record variable. Yes, you're right. Funny implementation of the FOR loop :) Mike
В списке pgsql-sql по дате отправления