Re: polymorphic function in 7.4 vs. 8.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: polymorphic function in 7.4 vs. 8.3
Дата
Msg-id 20491.1244756986@sss.pgh.pa.us
обсуждение исходный текст
Ответ на polymorphic function in 7.4 vs. 8.3  (Richard Rosenberg <richrosenberg@earthlink.net>)
Ответы Re: polymorphic function in 7.4 vs. 8.3  (Richard Rosenberg <richrosenberg@earthlink.net>)
Список pgsql-sql
Richard Rosenberg <richrosenberg@earthlink.net> writes:
> Tom, thanks for your prompt reply. I think I may have my head on straight now, 
> this should work:

Yeah, but you're still out of luck on 7.4.  Its plpgsql doesn't have any
ability to pass whole-row variables into expressions.  I don't see any
answer for you except breaking down the row into columns, which of
course is going to be a huge notational PITA.

Sure you can't move the DB off 7.4?  There would be pretty considerable
benefits from adopting some recent release instead.
        regards, tom lane


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: polymorphic function in 7.4 vs. 8.3
Следующее
От: Richard Rosenberg
Дата:
Сообщение: Re: polymorphic function in 7.4 vs. 8.3