quick patch for pg_database.encoding doc

Lists: pgsql-patches
From: Larry Rosenman <ler(at)lerctr(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: quick patch for pg_database.encoding doc
Date: 2006-06-02 17:54:04
Message-ID: 20060602125212.G53863@thebighonker.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

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(at)lerctr(dot)org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893

Attachment Content-Type Size
doc-patch-pg_encoding.diff text/plain 964 bytes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: quick patch for pg_database.encoding doc
Date: 2006-06-03 02:53:33
Message-ID: 12562.1149303213@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Larry Rosenman <ler(at)lerctr(dot)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