]> granicus.if.org Git - postgresql/commit
Remove last traces of heap_open/close in the tree
authorMichael Paquier <michael@paquier.xyz>
Sat, 19 Oct 2019 02:18:15 +0000 (11:18 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sat, 19 Oct 2019 02:18:15 +0000 (11:18 +0900)
commitf25968c49697db673f6cd2a07b3f7626779f1827
treef9141dc250f3633fa59e34a9fa7b194c1ee60d29
parentec1259e880dd0738a0b111e47d1b7153d3da20fd
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
src/backend/commands/statscmds.c
src/backend/optimizer/util/plancat.c
src/include/access/table.h