Thread: quick patch for pg_database.encoding doc

quick patch for pg_database.encoding doc

From
Larry Rosenman
Date:
This patch adds a reference to the pg_encoding_to_char() function as
a means to translate the number to something meaningful for a human.


Index: doc/src/sgml/catalogs.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v
retrieving revision 2.123
diff -c -r2.123 catalogs.sgml
*** doc/src/sgml/catalogs.sgml    28 May 2006 02:27:08 -0000    2.123
--- doc/src/sgml/catalogs.sgml    2 Jun 2006 17:51:14 -0000
***************
*** 1954,1960 ****
         <entry><structfield>encoding</structfield></entry>
         <entry><type>int4</type></entry>
         <entry></entry>
!       <entry>Character encoding for this database</entry>
        </row>

        <row>
--- 1954,1962 ----
         <entry><structfield>encoding</structfield></entry>
         <entry><type>int4</type></entry>
         <entry></entry>
!       <entry>Character encoding for this database.  The
!           <function>pg_encoding_to_char</function> can be used to translate
!           this to the encoding name used</entry>
        </row>


--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893

Attachment

Re: quick patch for pg_database.encoding doc

From
Tom Lane
Date:
Larry Rosenman <ler@lerctr.org> writes:
> This patch adds a reference to the pg_encoding_to_char() function as
> a means to translate the number to something meaningful for a human.

Done, thanks.

            regards, tom lane