diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-02-20 19:59:04 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-02-20 19:59:04 +0000 |
commit | b92767d525ca911acc30027b457721c6cfc3c4fb (patch) | |
tree | 4bfa5abe2ec8225f0ddf80428f9c4c718724751a | |
parent | 298de77d51fc6135cf44db541d8859e21c15c36d (diff) |
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 ab179588c7e..b8be507f2df 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.368 2007/02/20 18:18:05 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.369 2007/02/20 19:59:04 momjian Exp $ --> <chapter id="functions"> <title>Functions and Operators</title> @@ -1356,8 +1356,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> |