diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-02-20 19:59:18 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-02-20 19:59:18 +0000 |
commit | 664009ecb16039244f77d3f1e6c87c521562ccda (patch) | |
tree | 6b9f332afbf9cfc9fc9ef29b85b656a7b777bedb | |
parent | 6f9027372b31e37494c5b94a590e9ab986a670fc (diff) | |
download | postgresql-664009ecb16039244f77d3f1e6c87c521562ccda.tar.gz postgresql-664009ecb16039244f77d3f1e6c87c521562ccda.zip |
Update "encode" documentation to mention that 'escape' only changes null
bytes and backslashes, remove "ASCII" mention. Backpatch to 8.2.X.
-rw-r--r-- | doc/src/sgml/func.sgml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 431e0c10fa8..d7179465033 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.347.2.5 2007/02/20 14:05:02 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.347.2.6 2007/02/20 19:59:18 momjian Exp $ --> <chapter id="functions"> <title>Functions and Operators</title> @@ -1326,8 +1326,10 @@ </entry> <entry><type>text</type></entry> <entry> - Encode binary data to <acronym>ASCII</acronym>-only representation. Supported + Encode binary data to different representation. Supported types are: <literal>base64</>, <literal>hex</>, <literal>escape</>. + <literal>Escape</> merely outputs null bytes as <literal>\000</> and + doubles backslashes. </entry> <entry><literal>encode( E'123\\000\\001', 'base64')</literal></entry> <entry><literal>MTIzAAE=</literal></entry> |