diff options
author | Fujii Masao | 2014-08-11 13:52:16 +0000 |
---|---|---|
committer | Fujii Masao | 2014-08-11 13:53:13 +0000 |
commit | b8eaa7b2a67c9f9f6730376056903feb3da58293 (patch) | |
tree | c3b0c275989ca0e5b01c7db295e0d2f775bdb0a3 | |
parent | 83412c7b9f2e7d159e2eebaf4da3272a603c2595 (diff) |
Fix documentation oversights about pageinspect and initialization fork.
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
-rw-r--r-- | doc/src/sgml/pageinspect.sgml | 7 | ||||
-rw-r--r-- | doc/src/sgml/storage.sgml | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/doc/src/sgml/pageinspect.sgml b/doc/src/sgml/pageinspect.sgml index acbb05bc9c5..f95eaa8b508 100644 --- a/doc/src/sgml/pageinspect.sgml +++ b/doc/src/sgml/pageinspect.sgml @@ -25,11 +25,12 @@ <listitem> <para> <function>get_raw_page</function> reads the specified block of the named - table and returns a copy as a <type>bytea</> value. This allows a + relation and returns a copy as a <type>bytea</> value. This allows a single time-consistent copy of the block to be obtained. <replaceable>fork</replaceable> should be <literal>'main'</literal> for - the main data fork, or <literal>'fsm'</literal> for the free space map, - or <literal>'vm'</literal> for the visibility map. + the main data fork, <literal>'fsm'</literal> for the free space map, + <literal>'vm'</literal> for the visibility map, or <literal>'init'</literal> + for the initialization fork. </para> </listitem> </varlistentry> diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml index 0a133bb7c7e..d2c5e033227 100644 --- a/doc/src/sgml/storage.sgml +++ b/doc/src/sgml/storage.sgml @@ -232,8 +232,8 @@ The <function>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 <literal>_fsm</> or <literal>_vm</> to find all the files associated -with the relation. +and/or <literal>_fsm</>, <literal>_vm</>, or <literal>_init</> to find all +the files associated with the relation. </para> <para> |