From b92767d525ca911acc30027b457721c6cfc3c4fb Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 20 Feb 2007 19:59:04 +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 ab179588c7..b8be507f2d 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -1356,8 +1356,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= -- GitLab