pgsql: Remove last traces of heap_open/close in the tree

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove last traces of heap_open/close in the tree
Date: 2019-10-19 02:25:46
Message-ID: E1iLeR8-0005HE-Kl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove last traces of heap_open/close in the tree

Since pluggable storage has been introduced, those two routines have
been replaced by table_open/close, with some compatibility macros still
present to allow extensions to compile correctly with v12.

Some code paths using the old routines still remained, so replace them.
Based on the discussion done, the consensus reached is that it is better
to remove those compatibility macros so as nothing new uses the old
routines, so remove also the compatibility macros.

Discussion: https://postgr.es/m/20191017014706.GF5605@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f25968c49697db673f6cd2a07b3f7626779f1827

Modified Files
--------------
src/backend/commands/statscmds.c | 4 ++--
src/backend/optimizer/util/plancat.c | 4 ++--
src/include/access/table.h | 10 ----------
3 files changed, 4 insertions(+), 14 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2019-10-19 03:27:18 pgsql: For PowerPC instruction "addi", use constraint "b".
Previous Message Fujii Masao 2019-10-18 14:18:02 Re: pgsql: doc: Further clarify how recovery target parameters are applied