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

From Stephen Frost
Subject Re: Time to drop old-style (V0) functions?
Date
Msg-id 20161208215752.GL23417@tamriel.snowman.net
Whole thread Raw
In response to Time to drop old-style (V0) functions?  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres, all,

* Andres Freund (andres@anarazel.de) wrote:
> 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.

+100

Thanks!

Stephen

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: pg_dump vs. TRANSFORMs
Next
From: Stephen Frost
Date:
Subject: Re: [HACKERS] [COMMITTERS] pgsql: Implement table partitioning.