summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/expected/tsearch2.out
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2003-09-22 13:32:33 +0000
committerTeodor Sigaev <teodor@sigaev.ru>2003-09-22 13:32:33 +0000
commit0b1ee9b5a3b56724b4ee23dbbfb083b540aed8e4 (patch)
tree5162472dce08edadd3ecb4e551f9c73a7180a3c7 /contrib/tsearch2/expected/tsearch2.out
parent22c0b1f0f40799adc4cb25017da7c7d11598e5d7 (diff)
downloadpostgresql-0b1ee9b5a3b56724b4ee23dbbfb083b540aed8e4.tar.gz
fix hlfinditem function. Thanks to "Stphane Bidoul" <stephane.bidoul@softwareag.com>.
The 'word' variable there is initialised from the prs->words array, but immediately after, that array may be reallocated, thus leaving word pointing to unallocated memory.
Diffstat (limited to 'contrib/tsearch2/expected/tsearch2.out')
-rw-r--r--contrib/tsearch2/expected/tsearch2.out10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/tsearch2/expected/tsearch2.out b/contrib/tsearch2/expected/tsearch2.out
index 8571e59bbb..bdcdd952cf 100644
--- a/contrib/tsearch2/expected/tsearch2.out
+++ b/contrib/tsearch2/expected/tsearch2.out
@@ -2056,11 +2056,11 @@ An hour of storm to place
The sculpture of these granite seams,
Upon a woman s face. E. J. Pratt (1882 1964)
', to_tsquery('granite&sea'));
- headline
-----------------------------------------------------------------------------------------------
- <b>sea</b> an hour one night
-An hour of storm to place
-The sculpture of these <b>granite</b>
+ headline
+--------------------------------------------------------------------------------------------------
+ <b>sea</b> a thousand years,
+A thousand years to trace
+The <b>granite</b> features of this cliff
(1 row)