From 664009ecb16039244f77d3f1e6c87c521562ccda Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 20 Feb 2007 19:59:18 +0000 Subject: [PATCH] Update "encode" documentation to mention that 'escape' only changes null bytes and backslashes, remove "ASCII" mention. Backpatch to 8.2.X. --- doc/src/sgml/func.sgml | 6 ++++-- 1 file 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 @@ - + 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=