From 4b1812b8132006576cd303327e6e39d809afb5b6 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Mon, 11 Aug 2014 23:19:23 +0900 Subject: Fix failure to follow the directions when "init" fork was added. Specifically this commit updates forkname_to_number() so that the HINT message includes "init" fork, and also adds the description of "init" fork into pg_relation_size() document. This is a part of the commit 2d00190495b22e0d0ba351b2cda9c95fb2e3d083 which has fixed the same oversight in master and 9.4. Back-patch to 9.1 where "init" fork was added. --- doc/src/sgml/func.sgml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index f1ae736ef3f..82238f70080 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -14400,7 +14400,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup()); bigint Disk space used by the specified fork ('main', - 'fsm' or 'vm') + 'fsm', 'vm', or 'init') of the specified table or index @@ -14521,6 +14521,12 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup()); (see ) associated with the relation. + + + 'init' returns the size of the initialization fork, + if any, (see ) associated with the relation. + + -- cgit v1.2.3