Time to drop old-style (V0) functions?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Time to drop old-style (V0) functions?
Дата
Msg-id 20161208213441.k3mbno4twhg2qf7g@alap3.anarazel.de
обсуждение исходный текст
Ответы Re: Time to drop old-style (V0) functions?  (Stephen Frost <sfrost@snowman.net>)
Re: Time to drop old-style (V0) functions?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [HACKERS] Time to drop old-style (V0) functions?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [HACKERS] Time to drop old-style (V0) functions?  (Stephen Frost <sfrost@snowman.net>)
Re: [HACKERS] Time to drop old-style (V0) functions?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

I'm wondering if it's not time for $subject:
- V0 causes confusion / weird crashes when PG_FUNCTION_INFO_V1 was forgotten
- They have us keep weird hacks around just for the sake of testing V0
- they actually cost performance, because we have to zero initialize Datums, even if the corresponding isnull marker is
set.
- they allow to call arbitrary functions pretty easily

I don't see any reason to keep them around. If seriously doubt anybody
is using them seriously in anything but error.

Greetings,

Andres Freund



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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [HACKERS] [PATCH] Refactor "if(strspn(str, ...) == strlen(str)"code
Следующее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: Patch to implement pg_current_logfile() function