diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2001-08-15 07:10:12 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2001-08-15 07:10:12 +0000 |
commit | 397f65d102b7f9998411f2a8c2d1c66dfe712320 (patch) | |
tree | 435165396260bf34e1d3a9ae16e962a0c2e4d6b6 /doc/src | |
parent | ab9b6c45cf020d72f1600443fe76b9d7a4f8944c (diff) | |
download | postgresql-397f65d102b7f9998411f2a8c2d1c66dfe712320.tar.gz postgresql-397f65d102b7f9998411f2a8c2d1c66dfe712320.zip |
Add convert.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/func.sgml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 6bb793a9c85..9423e524fe9 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.65 2001/08/14 22:21:58 tgl Exp $ --> +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.66 2001/08/15 07:10:12 ishii Exp $ --> <chapter id="functions"> <title>Functions and Operators</title> @@ -930,6 +930,20 @@ </row> <row> + <entry>convert(<parameter>string</parameter> <type>text</type>, + [<parameter>src_encoding</parameter> <type>name</type>,] + <parameter>dest_encoding</parameter> <type>name</type>)</entry> + <entry><type>text</type></entry> + <entry>Converts string using <parameter>dest_encoding</parameter>. + The original encoding is specified by <parameter>src_encoding</parameter>. + If <parameter>src_encoding</parameter> is omitted, database encoding + is assumed. + </entry> + <entry>convert('text_in_unicode','UNICODE','LATIN1')</entry> + <entry>text_in_unicode (represented in ISO-8859-1)</entry> + </row> + + <row> <entry>initcap(<type>text</type>)</entry> <entry><type>text</type></entry> <entry>Converts first letter of each word (whitespace separated) to upper case.</entry> |