Commit 248fc1f1 authored by Tom Lane's avatar Tom Lane

Fix obsolete statement in smgr/README.

Since commit 2d001904, fork numbers are
defined in relpath.h not relfilenode.h.

Fabrízio de Royes Mello
parent b0d3636c
...@@ -50,7 +50,7 @@ independently of the main data file, while still treating it all as a single ...@@ -50,7 +50,7 @@ independently of the main data file, while still treating it all as a single
physical relation in system catalogs. physical relation in system catalogs.
It is assumed that the main fork, fork number 0 or MAIN_FORKNUM, always 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 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 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 access. Since most code wants to access the main fork, a shortcut version of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment