aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2014-01-31 22:40:08 -0500
committerBruce Momjian <bruce@momjian.us>2014-01-31 22:40:08 -0500
commit5bdef38b8917cfbe206d14969c61a5d38fc822b6 (patch)
tree026e339a331f6d717603dafa75ac316e10db1c40 /doc/src
parent5168c76964fe90646b69b37e2c5bc7b60ba12d65 (diff)
downloadpostgresql-5bdef38b8917cfbe206d14969c61a5d38fc822b6.tar.gz
postgresql-5bdef38b8917cfbe206d14969c61a5d38fc822b6.zip
docs: mention 'g' is not in the regex embedded options table
Mentioned in substring() and regexp_replace() sections.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/func.sgml8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 9c2708c09ba..252539f93be 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -3984,7 +3984,8 @@ substring('foobar' from 'o(.)b') <lineannotation>o</lineannotation>
string containing zero or more single-letter flags that change the
function's behavior. Flag <literal>i</> specifies case-insensitive
matching, while flag <literal>g</> specifies replacement of each matching
- substring rather than only the first one. Other supported flags are
+ substring rather than only the first one. Supported flags (though
+ not <literal>g</>) are
described in <xref linkend="posix-embedded-options-table">.
</para>
@@ -4021,8 +4022,9 @@ regexp_replace('foobarbaz', 'b(..)', E'X\\1Y', 'g')
string containing zero or more single-letter flags that change the
function's behavior. Flag <literal>g</> causes the function to find
each match in the string, not only the first one, and return a row for
- each such match. Other supported
- flags are described in <xref linkend="posix-embedded-options-table">.
+ each such match. Supported flags (though
+ not <literal>g</>)
+ are described in <xref linkend="posix-embedded-options-table">.
</para>
<para>