Fix documentation oversights about pageinspect and initialization fork.
authorFujii Masao
Mon, 11 Aug 2014 13:52:16 +0000 (22:52 +0900)
committerFujii Masao
Mon, 11 Aug 2014 13:52:48 +0000 (22:52 +0900)
The initialization fork was added in 9.1, but has not been taken into
consideration in documents of get_raw_page function in pageinspect and
storage layout. This commit fixes those oversights.

get_raw_page can read not only a table but also an index, etc. So it
should be documented that the function can read any relation. This commit
also fixes the document of pageinspect that way.

Back-patch to 9.1 where those oversights existed.

Vik Fearing, review by MauMau

doc/src/sgml/pageinspect.sgml
doc/src/sgml/storage.sgml

index 923218389632783281192459a8bac1bf4b201f8f..191fb156c13bb2b7ec9b7b119860f48c1c20e904 100644 (file)
     
      
       get_raw_page reads the specified block of the named
-      table and returns a copy as a bytea value.  This allows a
+      relation and returns a copy as a bytea value.  This allows a
       single time-consistent copy of the block to be obtained.
       fork should be 'main' for
-      the main data fork, or 'fsm' for the free space map,
-      or 'vm' for the visibility map.
+      the main data fork, 'fsm' for the free space map,
+      'vm' for the visibility map, or 'init'
+      for the initialization fork.
      
     
    
index 4c7fb6c6fa51d9a362e4916e856122a73ee5150a..920b5f0dc3bc3b90fb19f672137ed0843052f8d8 100644 (file)
@@ -265,8 +265,8 @@ The pg_relation_filepath() function shows the entire path
 as a substitute for remembering many of the above rules.  But keep in
 mind that this function just gives the name of the first segment of the
 main fork of the relation — you may need to append a segment number
-and/or _fsm or _vm to find all the files associated
-with the relation.
+and/or _fsm_vm, or _init to find all
+the files associated with the relation.