From 248fc1f10716964b7e7d0f8ada686801d1e36445 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 28 Jul 2014 16:30:14 -0400 Subject: [PATCH] Fix obsolete statement in smgr/README. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Since commit 2d00190495b22e0d0ba351b2cda9c95fb2e3d083, fork numbers are defined in relpath.h not relfilenode.h. Fabrízio de Royes Mello --- src/backend/storage/smgr/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/storage/smgr/README b/src/backend/storage/smgr/README index 12df42a094..37ed40b645 100644 --- a/src/backend/storage/smgr/README +++ b/src/backend/storage/smgr/README @@ -50,7 +50,7 @@ independently of the main data file, while still treating it all as a single physical relation in system catalogs. It is assumed that the main fork, fork number 0 or MAIN_FORKNUM, always -exists. Fork numbers are assigned in src/include/storage/relfilenode.h. +exists. Fork numbers are assigned in src/include/common/relpath.h. Functions in smgr.c and md.c take an extra fork number argument, in addition to relfilenode and block number, to identify which relation fork you want to access. Since most code wants to access the main fork, a shortcut version of -- 2.40.0