Re: pgsql: Fix bug in Tid scan. - Mailing list pgsql-committers

From Fujii Masao
Subject Re: pgsql: Fix bug in Tid scan.
Date
Msg-id CAHGQGwHhfvrj682CfykVZ-2wiYSY6DppxbdObSncd_pGWwRakw@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Fix bug in Tid scan.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Fix bug in Tid scan.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
On Sat, Feb 8, 2020 at 10:04 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Fujii Masao <masao.fujii@gmail.com> writes:
> > On Sat, Feb 8, 2020 at 4:25 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> AFAICS, this patch has caused an ABI break in v12.  Do we really
> >> believe that no extension references the values of the ScanOptions
> >> enum?
>
> > Yes, you are right. Some extensions may depend on it.
> > It's better not to add new ScanOption not to break ABI.
>
> I think it's okay to add a new value of ScanOption; what you can't
> do is change the codes assigned to the existing values.  So I'd
> just revert those code changes and give SO_TYPE_TIDSCAN a value
> that's out-of-order.

So you are thinking to apply something like the attached to
both master and v12? That sounds better to me.

Regards,

-- 
Fujii Masao

Attachment

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix bug in Tid scan.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Fix bug in Tid scan.