pgsql: Move syncscan.c to src/backend/access/common. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Move syncscan.c to src/backend/access/common.
Date
Msg-id E1k0eDY-0007NI-OZ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

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

Modified Files
--------------
src/backend/access/common/Makefile             |  1 +
src/backend/access/{heap => common}/syncscan.c |  6 +++---
src/backend/access/heap/Makefile               |  1 -
src/backend/access/heap/heapam.c               |  1 +
src/backend/access/heap/heapam_handler.c       |  1 +
src/backend/access/table/tableam.c             |  2 +-
src/backend/storage/ipc/ipci.c                 |  1 +
src/include/access/heapam.h                    |  6 ------
src/include/access/syncscan.h                  | 25 +++++++++++++++++++++++++
9 files changed, 33 insertions(+), 11 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Rename another "hash_mem" local variable.
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix incorrect print format in json.c