aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-03-08 12:54:00 -0500
committerBruce Momjian <bruce@momjian.us>2011-03-08 12:54:00 -0500
commit915cd10c164be27dac0134efb16358f7d7564e8d (patch)
treea062f249bf21e6f74736c533eb9367fd2f339707
parent7465ae06be4f1dbc90575d68d1ffc3351e1ca855 (diff)
downloadpostgresql-915cd10c164be27dac0134efb16358f7d7564e8d.tar.gz
postgresql-915cd10c164be27dac0134efb16358f7d7564e8d.zip
Adjust CHAR() doc mention of pattern matching issues for trailing
spaces.
-rw-r--r--doc/src/sgml/datatype.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index 22d4c4e33a9..0bb6594eab1 100644
--- a/doc/src/sgml/datatype.sgml
+++ b/doc/src/sgml/datatype.sgml
@@ -1014,12 +1014,12 @@ SELECT '52093.89'::money::numeric::float8;
with spaces to the specified width <replaceable>n</>, and are
stored and displayed that way. However, the padding spaces are
treated as semantically insignificant. Trailing spaces are
- disregarded when non-pattern comparing two values of type <type>character</type>,
+ disregarded when comparing two values of type <type>character</type>,
and they will be removed when converting a <type>character</type> value
to one of the other string types. Note that trailing spaces
<emphasis>are</> semantically significant in
<type>character varying</type> and <type>text</type> values, and
- when using pattern matching comparisons, e.g. <literal>LIKE</>,
+ when using pattern matching, e.g. <literal>LIKE</>,
regular expressions.
</para>