pgsql: Revert recent change of ScanOption values and renumber SO_TYPE_T - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Revert recent change of ScanOption values and renumber SO_TYPE_T
Date
Msg-id E1j0Gp5-0007jz-Cm@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

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