diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index ee8cc7d3f6..5334b191d6 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -1,5 +1,5 @@
@@ -1727,6 +1727,34 @@ PostgreSQL documentation
text_in_unicode represented in ISO 8859-1
+
+
+ decode(string text,
+ type text)
+
+ bytea
+
+ Decodes binary data from string previously
+ encoded with encode(). Parameter type is same as in encode().
+
+ decode('MTIzAAE=', 'base64')
+ 123\000\001
+
+
+
+
+ encode(data bytea,
+ type text)
+
+ text
+
+ Encodes binary data to ASCII-only representation. Supported
+ types are: 'base64', 'hex', 'escape'.
+
+ encode('123\\000\\001', 'base64')
+ MTIzAAE=
+
+
initcap(text)
text
@@ -1828,6 +1856,18 @@ PostgreSQL documentation
PgPgPgPg
+
+ replace(string text,
+ from text,
+ to text)
+ text
+ Replace all occurrences in string of substring
+ from with substring to
+
+ replace('abcdefabcdef', 'cd', 'XX')
+ abXXefabXXef
+
+
rpad(string text,
@@ -1858,6 +1898,18 @@ PostgreSQL documentation
trim
+
+ split(string text,
+ delimiter text,
+ column integer)
+ text
+ Split string on delimiter
+ returning the resulting (one based) column number.
+
+ split('abc~@~def~@~ghi','~@~',2)
+ def
+
+
strpos(string, substring)
text
@@ -1891,6 +1943,17 @@ PostgreSQL documentation
Karel
+
+ to_hex(number integer
+ or bigint)
+ text
+ Convert number to its equivalent hexadecimal
+ representation.
+
+ to_hex(9223372036854775807::bigint)
+ 7fffffffffffffff
+
+
translate(string
@@ -1909,34 +1972,6 @@ PostgreSQL documentation
a23x5
-
-
- encode(data bytea,
- type text)
-
- text
-
- Encodes binary data to ASCII-only representation. Supported
- types are: 'base64', 'hex', 'escape'.
-
- encode('123\\000\\001', 'base64')
- MTIzAAE=
-
-
-
-
- decode(string text,
- type text)
-
- bytea
-
- Decodes binary data from string previously
- encoded with encode(). Parameter type is same as in encode().
-
- decode('MTIzAAE=', 'base64')
- 123\000\001
-
-