Re: [HACKERS] Time to drop old-style (V0) functions?

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: [HACKERS] Time to drop old-style (V0) functions?
Дата
Msg-id
20170301072225.ffnxvx6vtezxcf2k@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
Time to drop old-style (V0) functions? Andres Freund <andres@anarazel.de>
Re: Time to drop old-style (V0) functions? Tom Lane <tgl@sss.pgh.pa.us>
Re: Time to drop old-style (V0) functions? Andres Freund <andres@anarazel.de>
Re: Time to drop old-style (V0) functions? Tom Lane <tgl@sss.pgh.pa.us>
Re: Time to drop old-style (V0) functions? Andres Freund <andres@anarazel.de>
Re: Time to drop old-style (V0) functions? Andres Freund <andres@anarazel.de>
Re: [HACKERS] Time to drop old-style (V0) functions? Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Time to drop old-style (V0) functions? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Time to drop old-style (V0) functions? Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Time to drop old-style (V0) functions? Andres Freund <andres@anarazel.de>
Re: [HACKERS] Time to drop old-style (V0) functions? Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Time to drop old-style (V0) functions? Andres Freund <andres@anarazel.de>
Re: [HACKERS] Time to drop old-style (V0) functions? Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Time to drop old-style (V0) functions? Andres Freund <andres@anarazel.de>
Re: [HACKERS] Time to drop old-style (V0) functions? Robert Haas <robertmhaas@gmail.com>
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? Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Time to drop old-style (V0) functions? Andres Freund <andres@anarazel.de>
Re: [HACKERS] Time to drop old-style (V0) functions? Andres Freund <andres@anarazel.de>
Re: [HACKERS] Time to drop old-style (V0) functions? Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Time to drop old-style (V0) functions? Andres Freund <andres@anarazel.de>
Re: 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>
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? Andres Freund <andres@anarazel.de>
Re: [HACKERS] Time to drop old-style (V0) functions? Andres Freund <andres@anarazel.de>
Re: [HACKERS] Time to drop old-style (V0) functions? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Time to drop old-style (V0) functions? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Time to drop old-style (V0) functions? Craig Ringer <craig@2ndquadrant.com>
Re: Time to drop old-style (V0) functions? Craig Ringer <craig@2ndquadrant.com>
Re: Time to drop old-style (V0) functions? Craig Ringer <craig@2ndquadrant.com>
Re: Time to drop old-style (V0) functions? Tom Lane <tgl@sss.pgh.pa.us>
On 2017-02-28 23:15:15 -0800, Andres Freund wrote:
> On 2016-12-08 13:34:41 -0800, Andres Freund wrote:
> > 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.
> 
> Patches attached.

One unaddressed question in those patches is what we do with
src/backend/utils/fmgr/README - I'm not quite sure what its purpose is,
in its current state.  If we want to keep it, we'd probably have to
pretty aggressively revise it?

- Andres


В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
От: Tsunakawa, Takayuki
Дата:
FAQ