Re: Accessing original TupleDesc from SRF
От | Joe Conway |
---|---|
Тема | Re: Accessing original TupleDesc from SRF |
Дата | |
Msg-id | 3D6F8532.4080308@joeconway.com обсуждение исходный текст |
Ответ на | Accessing original TupleDesc from SRF (John Gray <jgray@azuli.co.uk>) |
Ответы |
Re: Accessing original TupleDesc from SRF
|
Список | pgsql-hackers |
John Gray wrote: > Please correct me if I've got this wrong, but it appears from the SRF > API, that a SRF cannot readily refer to the TupleDesc to which it is > expected to conform (i.e. the TupleDesc derived from the FROM clause of > an original SELECT statement) because that is held in the executor state > and not copied or linked into the function context. > [snip] > > Does this sound completely crazy? > Not crazy at all. I asked the same question a few days ago: http://archives.postgresql.org/pgsql-hackers/2002-08/msg01914.php Tom suggested a workaround for my purpose, but I do agree that this is needed in the long run. I looked at it briefly, but there was no easy answer I could spot. I'll take another look today. Joe
В списке pgsql-hackers по дате отправления: