Re: plpgsql function returning SETOF
От
Johannes Brügmann
Тема
Re: plpgsql function returning SETOF
Дата
Msg-id
5zek46b73r.fsf@jottbee.net
Ответ на
Re: plpgsql function returning SETOF (Tom Lane)
Список
Дерево обсуждения
plpgsql function returning SETOF "Johannes Brügmann" <johannes@jottbee.org>
Re: plpgsql function returning SETOF "A. Kretschmer" <andreas.kretschmer@schollglas.com>
Re: plpgsql function returning SETOF "Johannes Brügmann" <johannes@jottbee.org>
Re: plpgsql function returning SETOF Andreas Kretschmer <akretschmer@spamfence.net>
Re: plpgsql function returning SETOF "Johannes Brügmann" <johannes@jottbee.org>
Re: plpgsql function returning SETOF "Johannes Brügmann" <johannes@jottbee.org>
Re: plpgsql function returning SETOF Tom Lane <tgl@sss.pgh.pa.us>
Re: plpgsql function returning SETOF "Johannes Brügmann" <johannes@jottbee.org>
Hello Tom, hello novices and experts, Tom Lane writes: > "Johannes Brügmann" writes: >> sorry, i missed the error message: > >> bruegmann@traffic_nrw=# select feiertage(NULL); >> ERROR: set-valued function called in context that cannot accept a set >> CONTEXT: PL/pgSQL function "feiertage" line 30 at return next > > You need to do > select * from your_function(...); > not just > select your_function(...); yes, that's it! Now it works, yeaaaah! Thanks a lot to you, Tom, for your immediate help! Johannes
В списке pgsql-novice по дате отправления