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

From Andres Freund
Subject Re: [HACKERS] Time to drop old-style (V0) functions?
Date
Msg-id 20170301071515.w6outba6762sbtam@alap3.anarazel.de
Whole thread Raw
In response to Time to drop old-style (V0) functions?  (Andres Freund <andres@anarazel.de>)
Responses 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?  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
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.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Proposal : Parallel Merge Join
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] Time to drop old-style (V0) functions?