Re: Re: pgsql: Convert contrib/seg's bool-returning SQL functions to V1 call co - Mailing list pgsql-committers

From Michael Paquier
Subject Re: Re: pgsql: Convert contrib/seg's bool-returning SQL functions to V1 call co
Date
Msg-id CAB7nPqTMr2aGTy-dBiQ1qJPbFeNtH6Uz6k01VLdmdTfRPf3TcA@mail.gmail.com
Whole thread Raw
In response to Re: Re: pgsql: Convert contrib/seg's bool-returning SQL functions to V1 call co  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
On Wed, Apr 27, 2016 at 12:04 PM, Andres Freund <andres@anarazel.de> wrote:
> On 2016-04-26 22:59:44 -0400, Tom Lane wrote:
>> What's the argument that it makes debugging harder?  Especially if
>> you aren't using it?
>
> If you try to write a V1 function, but forget or mistype/rename the
> function in PG_FUNCTION_INFO_V1, you'll get crashes, at least if you're
> lucky.

At some point we'll surely arrive at dropping it... Now if V0 is
decided to be dropped, making a deprecation notice in the release
notes of major version X and actually dropping it 2-3 years after
would be really welcome to ease the transaction. I am guessing that
you meant that.
--
Michael


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Emit invalidations to standby for transactions without xid.
Next
From: Robert Haas
Date:
Subject: pgsql: Fix EXPLAIN VERBOSE output for parallel aggregate.