aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-02-18 23:23:52 -0500
committerBruce Momjian <bruce@momjian.us>2011-02-18 23:23:52 -0500
commit4077980d67a2f27b88a6bc7531da31cae0ed0fb1 (patch)
tree3732a6b82e53cb4086c856d44adf54810d08b8f9
parent5bba4948eb835413cc4a5ca1e2f7255ce4c78e69 (diff)
downloadpostgresql-4077980d67a2f27b88a6bc7531da31cae0ed0fb1.tar.gz
postgresql-4077980d67a2f27b88a6bc7531da31cae0ed0fb1.zip
Improve text search prefix doc addition.
-rw-r--r--doc/src/sgml/datatype.sgml9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index 10f0e590d79..253b7578985 100644
--- a/doc/src/sgml/datatype.sgml
+++ b/doc/src/sgml/datatype.sgml
@@ -3847,12 +3847,9 @@ SELECT 'super:*'::tsquery;
'super':*
</programlisting>
This query will match any word in a <type>tsvector</> that begins
- with <quote>super</>.
- </para>
-
- <para>
- Note that text search configuration processing happens before
- comparisons, which means this comparison returns <literal>true</>:
+ with <quote>super</>. Note that prefixes are first processed by
+ text search configurations, which means this comparison returns
+ true:
<programlisting>
SELECT to_tsvector( 'postgraduate' ) @@ to_tsquery( 'postgres:*' );
?column?