Skip to content

Commit ef8101a

Browse files
authored
refactor: Split "communicator" routines to a separate source file (#11459)
pagestore_smgr.c had grown pretty large. Split into two parts, such that the smgr routines that PostgreSQL code calls stays in pagestore_smgr.c, and all the prefetching logic and other lower-level routines related to communicating with the pageserver are moved to a new source file, "communicator.c". There are plans to replace communicator parts with a new implementation. See #10799. This commit doesn't implement any of the new things yet, but it is good preparation for it. I'm imagining that the new implementation will approximately replace the current "communicator.c" code, exposing roughly the same functions to pagestore_smgr.c. This commit doesn't change any functionality or behavior, or make any other changes to the existing code: It just moves existing code around.
1 parent d2825e7 commit ef8101a

File tree

7 files changed

+2627
-2428
lines changed

7 files changed

+2627
-2428
lines changed

pgxn/neon/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
MODULE_big = neon
55
OBJS = \
66
$(WIN32RES) \
7+
communicator.o \
78
extension_server.o \
89
file_cache.o \
910
hll.o \

0 commit comments

Comments
 (0)