Move syncscan.c to src/backend/access/common.
authorThomas Munro <tmunro@postgresql.org>
Wed, 29 Jul 2020 04:46:58 +0000 (16:46 +1200)
committerThomas Munro <tmunro@postgresql.org>
Wed, 29 Jul 2020 04:59:33 +0000 (16:59 +1200)
commitcb04ad498551dcdb91a834c2e8730cdf0b77e70a
tree2079a9e2825f8db93e8c86ce1415f004f4c773a5
parentc49c74d19241b1fc8da6c215ebb40fd6b71c1bff
Move syncscan.c to src/backend/access/common.

Since the tableam.c code needs to make use of the syncscan.c routines
itself, and since other block-oriented AMs might also want to use it one
day, it didn't make sense for it to live under src/backend/access/heap.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA%2BhUKGLCnG%3DNEAByg6bk%2BCT9JZD97Y%3DAxKhh27Su9FeGWOKvDg%40mail.gmail.com
src/backend/access/common/Makefile
src/backend/access/common/syncscan.c [moved from src/backend/access/heap/syncscan.c with 98% similarity]
src/backend/access/heap/Makefile
src/backend/access/heap/heapam.c
src/backend/access/heap/heapam_handler.c
src/backend/access/table/tableam.c
src/backend/storage/ipc/ipci.c
src/include/access/heapam.h
src/include/access/syncscan.h [new file with mode: 0644]