1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00
Commit Graph

40 Commits

Author SHA1 Message Date
6091d62c9d Add comment about permissions on pg_ts* tables 2005-04-19 13:59:06 +00:00
7d19650a79 Fix various comparing functions 2005-03-31 15:12:08 +00:00
989a17a68c Prevent rank change in case of duplicate search terms 2005-03-05 16:19:33 +00:00
c0626280c7 Fix stupid bug in installcheck 2004-06-23 10:03:57 +00:00
fb411a4768 Minimize memory allocation for void (but not null) value. 2004-03-25 16:50:49 +00:00
41d9c5e067 The following bug has been logged online:
Bug reference:      1081
Logged by:          Aarjav Trivedi

Email address:      aarjav@cc.gatech.edu

PostgreSQL version: 7.4

Operating system:   Linux

Description:        Spelling error in tsearch2.sql leading to problems
with
tsearch

Details:

On line 620 of tsearch2.sql which is required to install and run
TSEARCH,

REATE FUNCTION tsstat_in(cstring)

should be

CREATE FUNCTION tsstat_in(cstring)

because of this error, TSEARCH fails to work as specified,
2004-02-21 03:48:55 +00:00
1a1485115e One more fix confusion 2003-12-05 15:38:30 +00:00
84d2ed136c Avoid confusion start_parse_str function with tsearch V1 2003-12-05 14:28:21 +00:00
be5a80739b Fix for word with several infinitives 2003-12-03 16:06:59 +00:00
f77c90b3de Fixes about word with several infiniteve 2003-11-27 16:08:41 +00:00
0527540896 Ignore too long lexeme 2003-11-25 13:40:16 +00:00
6000e32805 I've not changed any malloc/calloc to palloc. It looks to me that these memory
areas are for the lifetime of the backend and in the interests of not breaking
something that's not broken I left alone.

Note for anyone reading this and wanting it for tsearch-v2-stable (i.e. for 7.3
backend) this patch probably will not apply cleanly to that source. It should
be simple enough to see what's going on and apply the changes by hand if need
be.


--
Nigel J. Andrews
2003-09-29 18:54:38 +00:00
0b1ee9b5a3 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.
2003-09-22 13:32:33 +00:00
3f43446e36 Persuade tsearch/tsearch2 to work (or at least pass their regression
tests) when using flex 2.5.31.  The fix is to *not* try to use palloc
and pfree for allocations within the lexer; when you do that, the
yy_buffer_stack gets freed at inopportune times.  The code is already
set up to do manual deallocation, so I see no particular advantage to
using palloc anyway.
2003-09-14 18:44:23 +00:00
17d15ddf75 Fix incorrect pfree in to_tsquery_name(), per Nigel Andrews. 2003-09-12 16:34:28 +00:00
61366a9503 More accuracy works with stopwords in queries 2003-08-28 12:23:24 +00:00
9116f6c91a fix module name in MODULE_PATHNAME substitution 2003-08-26 10:01:02 +00:00
3d0d78ce2f Bring the makefiles up to our conventions. 2003-08-23 04:25:29 +00:00
38e2bf6283 ISpell info updated 2003-08-21 15:53:21 +00:00
d3fe721a40 Eliminate function start_parse_fh and macro YY_INPUT 2003-08-15 13:44:35 +00:00
364ef51484 Correct error messages 2003-08-13 14:41:59 +00:00
bcec1e617a More accuracy work with MinWords option of headline function 2003-08-13 14:37:55 +00:00
46785776c4 Another pgindent run with updated typedefs. 2003-08-08 21:42:59 +00:00
8753157739 OpenFTS vs Tsearch2 comment 2003-08-06 14:53:01 +00:00
d702313f0d Add documentation about ts_debug 2003-08-06 09:41:13 +00:00
dd2870f76f Add ts_debug function for debugging configurations 2003-08-06 09:19:21 +00:00
3b29525a79 Sub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else their
object files do not get built with -fpic.
2003-08-04 20:34:26 +00:00
f237a80d8a Fix to build correctly outside source tree. 2003-08-04 19:52:37 +00:00
d6f0f44b55 make sub-Makefiles in the sub-directories 2003-08-04 14:54:47 +00:00
8405e505c4 Docs fixes 2003-08-04 14:11:08 +00:00
089003fb46 pgindent run. 2003-08-04 00:43:34 +00:00
2c018f9b10 Fix for Alpha portability. 2003-08-01 03:55:05 +00:00
6ed071bca5 Update contrib regression tests for recent error message editing. 2003-08-01 02:38:09 +00:00
81b5c8a136 A visit from the message-style police ... 2003-07-28 00:09:16 +00:00
aec57ea868 elog mop-up. 2003-07-27 18:07:19 +00:00
e8db9b26d0 elog mop-up. 2003-07-27 17:10:07 +00:00
658fca8d3a Fix a few portability issues, adjust error messages. 2003-07-24 17:59:56 +00:00
8fd5b3ed67 Error message editing in contrib (mostly by Joe Conway --- thanks Joe!) 2003-07-24 17:52:50 +00:00
8f146a9077 Fix output to psql:tsearch2.sql:13: NOTICE: ... "pg_ts_dict_pkey" 2003-07-21 15:15:19 +00:00
b88605337e tsearch2 module 2003-07-21 10:27:44 +00:00