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
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>
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq