pgsql: tableam: Support for an index build's initial table scan(s).

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: tableam: Support for an index build's initial table scan(s).
Date: 2019-03-28 03:04:28
Message-ID: E1h9LLA-0005WG-PA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

tableam: Support for an index build's initial table scan(s).

To support building indexes over tables of different AMs, the scans to
do so need to be routed through the table AM. While moving a fair
amount of code, nearly all the changes are just moving code to below a
callback.

Currently the range based interface wouldn't make much sense for non
block based table AMs. But that seems aceptable for now.

Author: Andres Freund
Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2a96909a4a8c38705163b83a81b228d5aec197f9

Modified Files
--------------
contrib/amcheck/verify_nbtree.c | 39 +-
contrib/bloom/blinsert.c | 9 +-
doc/src/sgml/indexam.sgml | 2 +-
src/backend/access/brin/brin.c | 18 +-
src/backend/access/gin/gininsert.c | 6 +-
src/backend/access/gist/gistbuild.c | 8 +-
src/backend/access/hash/hash.c | 8 +-
src/backend/access/heap/heapam_handler.c | 749 +++++++++++++++++++++++++++
src/backend/access/nbtree/nbtsort.c | 17 +-
src/backend/access/spgist/spginsert.c | 9 +-
src/backend/catalog/index.c | 863 +------------------------------
src/include/access/tableam.h | 141 +++++
src/include/catalog/index.h | 77 ++-
src/tools/pgindent/typedefs.list | 2 +-
14 files changed, 1012 insertions(+), 936 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Fetter 2019-03-28 03:12:32 Re: pgsql: Add support for multivariate MCV lists
Previous Message Tomas Vondra 2019-03-28 01:27:52 Re: pgsql: Add support for multivariate MCV lists