mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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.
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user