Re: first cut at PL/PgSQL table functions
| От | Neil Conway |
|---|---|
| Тема | Re: first cut at PL/PgSQL table functions |
| Дата | |
| Msg-id | 87y9b2zjrt.fsf@mailbox.samurai.com обсуждение исходный текст |
| Ответ на | first cut at PL/PgSQL table functions (Neil Conway <neilc@samurai.com>) |
| Список | pgsql-patches |
Neil Conway <neilc@samurai.com> writes: > The attached patch is my first attempt at implementing table functions > for PL/PgSQL. Oh, one more thing: the patch also includes a minor cleanup to the FunctionMode enum, which I discussed with Joe Conway via private email. The "use a tuple store provided by the function" mechanism is a bit of a hack right now, but Joe and I discussed making it more general (adding another FunctionMode for it, and allowing it to be specified when executing CREATE FUNCTION). That will wait for 7.4, however. I also removed some spi.c functions that were just wrappers over the appropriate "regular" postgres functions (e.g. SPI_pfree), and replaced them with macros. IMHO that communicates the intent more clearly. Cheers, Neil -- Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC
В списке pgsql-patches по дате отправления: