From: Bruce Momjian Date: Tue, 20 Feb 2007 19:59:18 +0000 (+0000) Subject: Update "encode" documentation to mention that 'escape' only changes null X-Git-Tag: REL8_2_4~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=664009ecb16039244f77d3f1e6c87c521562ccda;p=postgresql Update "encode" documentation to mention that 'escape' only changes null bytes and backslashes, remove "ASCII" mention. Backpatch to 8.2.X. --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 431e0c10fa..d717946503 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -1326,8 +1326,10 @@ text - Encode binary data to ASCII-only representation. Supported + Encode binary data to different representation. Supported types are: base64, hex, escape. + Escape merely outputs null bytes as \000 and + doubles backslashes. encode( E'123\\000\\001', 'base64') MTIzAAE=