pgsql: Revert recent change of ScanOption values and renumber SO_TYPE_T

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Revert recent change of ScanOption values and renumber SO_TYPE_T
Date: 2020-02-08 03:30:23
Message-ID: E1j0Gp5-0007jz-Cm@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Revert recent change of ScanOption values and renumber SO_TYPE_TIDSCAN.

Commit 598b466e80 in v12 renumbered ScanOption enum values to add
the option for Tid scan. But the change of the codes assigned to
the existing values caused an ABI break and may break some extensions
depending on them. This should be avoided in minor version.

This commit reverts the renumbering of ScanOption enum values made by
commit 598b466e80 in v12 and put the ScanOption for Tid scan with new value.
This is applied only to v12.

Per complaint from Tom Lane.

Discussion: https://postgr.es/m/5261.1581103527@sss.pgh.pa.us

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4faea7fdf1768c65af744b5cbeaf201cdd345547

Modified Files
--------------
src/include/access/tableam.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2020-02-08 03:30:48 Re: pgsql: Fix bug in Tid scan.
Previous Message Tom Lane 2020-02-08 03:05:00 Re: pgsql: Fix bug in Tid scan.