Improve the documentation comment for replace(). Robert Treat
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 May 2008 22:48:07 +0000 (22:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 May 2008 22:48:07 +0000 (22:48 +0000)
src/include/catalog/pg_proc.h

index 87bf580759f1b18c5483db320ac603c14d98a4c4..99f42d326324e9c7b86bb2383c0694a3f75b62f6 100644 (file)
@@ -2202,7 +2202,7 @@ DESCR("return portion of string");
 DATA(insert OID =  937 (  substring    PGNSP PGUID 12 1 0 f f t f i 2 25 "25 23" _null_ _null_ _null_ text_substr_no_len - _null_ _null_ ));
 DESCR("return portion of string");
 DATA(insert OID =  2087 ( replace         PGNSP PGUID 12 1 0 f f t f i 3 25 "25 25 25" _null_ _null_ _null_    replace_text - _null_ _null_ ));
-DESCR("replace all occurrences of old_substr with new_substr in string");
+DESCR("replace all occurrences in string of old_substr with new_substr");
 DATA(insert OID =  2284 ( regexp_replace          PGNSP PGUID 12 1 0 f f t f i 3 25 "25 25 25" _null_ _null_ _null_    textregexreplace_noopt - _null_ _null_ ));
 DESCR("replace text using regexp");
 DATA(insert OID =  2285 ( regexp_replace          PGNSP PGUID 12 1 0 f f t f i 4 25 "25 25 25 25" _null_ _null_ _null_ textregexreplace - _null_ _null_ ));