while reading documentation for pg_freespacemap contrib module i found a small mistake - the functions are names "pg_freespace" and not "pg_freespacemap".
attached patch changes the sgml file with documentation. best regards, depesz -- Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/ jid/gtalk: [EMAIL PROTECTED] / aim:depeszhdl / skype:depesz_hdl / gg:6749007
*** pgfreespacemap.sgml.orig 2008-10-02 11:55:44.000000000 +0200 --- pgfreespacemap.sgml 2008-10-02 11:56:09.000000000 +0200 *************** *** 10,16 **** <para> The <filename>pg_freespacemap</> module provides a means for examining the free space map (FSM). It provides a function called ! <function>pg_freespacemap</function>, or two overloaded functions, to be precise. The functions show the value recorded in the free space map for a given page, or for all pages in the relation. </para> --- 10,16 ---- <para> The <filename>pg_freespacemap</> module provides a means for examining the free space map (FSM). It provides a function called ! <function>pg_freespace</function>, or two overloaded functions, to be precise. The functions show the value recorded in the free space map for a given page, or for all pages in the relation. </para> *************** *** 26,32 **** <variablelist> <varlistentry> <term> ! <function>pg_freespacemap(rel regclass IN, blkno bigint IN) returns int2</function> </term> <listitem> --- 26,32 ---- <variablelist> <varlistentry> <term> ! <function>pg_freespace(rel regclass IN, blkno bigint IN) returns int2</function> </term> <listitem> *************** *** 41,47 **** <varlistentry> <term> ! <function>pg_freespacemap(rel regclass IN, blkno OUT int4, avail OUT int2)</function> </term> <listitem> --- 41,47 ---- <varlistentry> <term> ! <function>pg_freespace(rel regclass IN, blkno OUT int4, avail OUT int2)</function> </term> <listitem>
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers