From a448e49bcbe40fb72e1ed85af910dd216d45bad8 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 28 Sep 2022 09:45:27 -0400 Subject: Revert 56-bit relfilenode change and follow-up commits. There are still some alignment-related failures in the buildfarm, which might or might not be able to be fixed quickly, but I've also just realized that it increased the size of many WAL records by 4 bytes because a block reference contains a RelFileLocator. The effect of that hasn't been studied or discussed, so revert for now. --- src/backend/backup/basebackup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/backup/basebackup.c') diff --git a/src/backend/backup/basebackup.c b/src/backend/backup/basebackup.c index 1434bcdd85c..411cac9be3f 100644 --- a/src/backend/backup/basebackup.c +++ b/src/backend/backup/basebackup.c @@ -1246,7 +1246,7 @@ sendDir(bbsink *sink, const char *path, int basepathlen, bool sizeonly, if (relForkNum != INIT_FORKNUM) { char initForkFile[MAXPGPATH]; - char relNumber[RELNUMBERCHARS + 1]; + char relNumber[OIDCHARS + 1]; /* * If any other type of fork, check if there is an init fork -- cgit v1.2.3