From: Tom Lane Date: Mon, 28 Jul 2014 20:30:14 +0000 (-0400) Subject: Fix obsolete statement in smgr/README. X-Git-Tag: REL9_4_BETA3~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5307c993637674692ef71bcd41ff2412b03de914;p=postgresql Fix obsolete statement in smgr/README. Since commit 2d00190495b22e0d0ba351b2cda9c95fb2e3d083, fork numbers are defined in relpath.h not relfilenode.h. Fabrízio de Royes Mello --- 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