From: Bruce Momjian Date: Tue, 31 Jul 2001 17:09:30 +0000 (+0000) Subject: Update 'translate' function description. translate does character set X-Git-Tag: REL7_2_BETA1~799 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fbf442d5a5bba97333a6b0e7358599472bcd52d;p=postgresql Update 'translate' function description. translate does character set mapping, not character strings. --- diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index 4acbe30e8e..ec39d05517 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_proc.h,v 1.198 2001/07/16 05:06:59 tgl Exp $ + * $Id: pg_proc.h,v 1.199 2001/07/31 17:09:30 momjian Exp $ * * NOTES * The script catalog/genbki.sh reads this file and generates .bki @@ -2101,7 +2101,7 @@ DESCR("right-pad string to length"); DATA(insert OID = 877 ( substr PGUID 12 f t t t 3 f 25 "25 23 23" 100 0 0 100 text_substr - )); DESCR("return portion of string"); DATA(insert OID = 878 ( translate PGUID 12 f t t t 3 f 25 "25 25 25" 100 0 0 100 translate - )); -DESCR("modify string by substring replacement"); +DESCR("map a set of character appearing in string"); DATA(insert OID = 879 ( lpad PGUID 14 f t t t 2 f 25 "25 23" 100 0 0 100 "select lpad($1, $2, \' \')" - )); DESCR("left-pad string to length"); DATA(insert OID = 880 ( rpad PGUID 14 f t t t 2 f 25 "25 23" 100 0 0 100 "select rpad($1, $2, \' \')" - ));