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

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Noah Misch <noah(at)leadboat(dot)com>, pgsql-committers(at)postgresql(dot)org
Subject: Re: Re: pgsql: Convert contrib/seg's bool-returning SQL functions to V1 call co
Date: 2016-04-27 04:15:32
Message-ID: CAB7nPqTMr2aGTy-dBiQ1qJPbFeNtH6Uz6k01VLdmdTfRPf3TcA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Wed, Apr 27, 2016 at 12:04 PM, Andres Freund <andres(at)anarazel(dot)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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-04-27 11:39:30 pgsql: Fix EXPLAIN VERBOSE output for parallel aggregate.
Previous Message Andres Freund 2016-04-27 03:42:25 Re: pgsql: Emit invalidations to standby for transactions without xid.

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2016-04-27 05:14:51 Re: pg_dump dump catalog ACLs
Previous Message Kyotaro HORIGUCHI 2016-04-27 03:58:35 Re: Support for N synchronous standby servers - take 2