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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Time to drop old-style (V0) functions?
Date: 2017-03-01 07:15:15
Message-ID: 20170301071515.w6outba6762sbtam@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Attachment Content-Type Size
0001-Move-contrib-seg-to-only-use-V1-calling-conventions.patch text/x-patch 21.8 KB
0002-Remove-support-for-version-0-calling-conventions.patch text/x-patch 36.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-03-01 07:22:25 Re: Time to drop old-style (V0) functions?
Previous Message Amit Kapila 2017-03-01 06:31:50 Re: Proposal : Parallel Merge Join