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

From Andres Freund
Subject Re: Time to drop old-style (V0) functions?
Date
Msg-id 20161208230054.nyynkq7o26i2wg3j@alap3.anarazel.de
Whole thread Raw
In response to Re: Time to drop old-style (V0) functions?  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 2016-12-08 14:53:58 -0800, Andres Freund wrote:
> On 2016-12-08 17:38:38 -0500, Tom Lane wrote:
> > The habit of zero-initializing Datums has got exactly nothing to do with
> > V0 functions; it's about ensuring consistent results and avoiding
> > heisenbugs from use of uninitialized memory.  I do not think we should
> > drop it.
> 
> Well, V0 functions don't have a real way to get information about NULL,
> and we allow non-strict V0 functions, so?

Oh, and the regression tests fail in V0 functions if you drop that.

Andres



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Time to drop old-style (V0) functions?
Next
From: Stephen Frost
Date:
Subject: Re: [HACKERS] [COMMITTERS] pgsql: Implement table partitioning.