Re: Final proposal for resolving C-vs-newC issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Final proposal for resolving C-vs-newC issue
Дата
Msg-id 12683.974687482@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Final proposal for resolving C-vs-newC issue  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: Final proposal for resolving C-vs-newC issue  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> At 17:16 19/11/00 -0500, Tom Lane wrote:
>> http://www.postgresql.org/cgi/cvsweb.cgi/pgsql/src/backend/utils/fmgr/README

> There is no mention of the handling of toasted values for old C functions.

Did you not read to the end?

: To allow old-style dynamic functions to work safely on toastable datatypes,
: the handler for old-style functions will automatically detoast toastable
: arguments before passing them to the old-style function.  A new-style
: function is expected to take care of toasted arguments by using the
: standard argument access macros defined above.
        regards, tom lane


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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: Final proposal for resolving C-vs-newC issue
Следующее
От: Don Baccus
Дата:
Сообщение: PG 7.1 pre-beta bug ...