Skip site navigation (1) Skip section navigation (2)

Time to drop old-style (V0) functions?

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Time to drop old-style (V0) functions?
Date: 2016-12-08 21:34:41
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

I'm wondering if it's not time for $subject:
- V0 causes confusion / weird crashes when PG_FUNCTION_INFO_V1 was
- 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.


Andres Freund


pgsql-hackers by date

Next:From: Karl O. PincDate: 2016-12-08 21:34:58
Subject: Re: Patch to implement pg_current_logfile() function
Previous:From: Petr JelinekDate: 2016-12-08 21:10:11
Subject: Re: Logical Replication WIP

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group