Fix failure to follow the directions when "init" fork was added.

Fujii Masao <fujii@postgresql.org>

Commit: a91fcd93ca038e60034efdf681c9323e4bce4385
Author: Fujii Masao <fujii@postgresql.org>
Date: 2014-08-11T14:19:23Z
Releases: 9.3.6
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.

Files

PathChange+/−
doc/src/sgml/func.sgml modified +7 −1
src/backend/catalog/catalog.c modified +2 −1