projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07f1264
)
Document that translate() removes characters in "from" that don't have
author
Alvaro Herrera
Sat, 16 Oct 2010 04:11:38 +0000
(
01:11
-0300)
committer
Alvaro Herrera
Sat, 16 Oct 2010 04:15:10 +0000
(
01:15
-0300)
a corresponding "to" character.
Author: Josh Kupershmidt
doc/src/sgml/func.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/func.sgml
b/doc/src/sgml/func.sgml
index 5d422afef26b2d873859493ee9a71a56575c3366..183b72cda48476db49867bd1eea364734052e627 100644
(file)
--- a/
doc/src/sgml/func.sgml
+++ b/
doc/src/sgml/func.sgml
@@
-1866,10
+1866,12
@@
Any character in
string
that matches a
character in the
from
set is replaced by
the corresponding character in the
to
- set
+ set. If
from
is longer than
+
to
, occurrences of the extra characters in
+
from
are removed.
-
translate('12345', '14', 'ax')
-
a2
3
x5
+
translate('12345', '14
3
', 'ax')
+
a2x5