ec8576114f
Some more gitignore cleanups: cover contrib and PL regression test outputs.
...
Also do some further work in the back branches, where quite a bit wasn't
covered by Magnus' original back-patch.
2010-09-22 17:22:31 -04:00
6b4453fd71
Convert cvsignore to gitignore, and add .gitignore for build targets.
2010-09-22 12:57:22 +02:00
d01bcba483
Fix uninitialized variables in get_covers
2009-01-16 12:10:34 +00:00
e0408ba3d5
Fix URL generation in headline. Only tag lexeme will be replaced by space.
...
Per http://archives.postgresql.org/pgsql-bugs/2008-12/msg00013.php
2009-01-15 18:30:10 +00:00
f58cccb0b5
Fix generation of too long headline with ShortWords.
...
Per http://archives.postgresql.org/pgsql-hackers/2008-09/msg01088.php
2009-01-15 18:29:47 +00:00
ca2ecbdaca
Fix small bug in headline generation.
...
Patch from Sushant Sinha <sushant354@gmail.com >
http://archives.postgresql.org/pgsql-hackers/2008-07/msg00785.php
2008-10-17 17:44:15 +00:00
505292eb41
Backpatch: Fix tsvector_out() and tsquery_out() to escape backslesh, add test of that.
...
Patch by Bruce Momjian <bruce@momjian.us >
2007-11-16 17:31:16 +00:00
45cd13c8ab
Fix crash of to_tsvector() function on huge input: compareWORD()
...
function didn't return correct result for word position greate than
limit.
Per report from Stuart Bishop <stuart@stuartbishop.net >
2007-09-26 10:44:54 +00:00
a75602e4c6
Fix caching of unsuccessful initialization of parser or configuration.
...
Per report from Listmail <lists@peufeu.com >
2007-04-02 11:43:30 +00:00
bcac5703ec
Fix backend crash in parsing incorrect tsquery.
...
Per report from Jon Rosebaugh <jon@inklesspen.com >
2007-02-12 14:19:26 +00:00
48498602a0
Change \' to '', for SQL standards compliance. Backpatch to 7.3, 7.4,
...
and 8.0. Later releases already patched.
2006-05-21 19:57:07 +00:00
8fb4451a4d
Update Snowball. I have to update it because of
...
old version doesn't available on Snowball's site and new version
of stemmers can't be compiled with old interface.
2005-09-15 12:41:52 +00:00
1891938e9c
Prevent to divide by zero and range out of 0..1
2005-06-01 11:46:09 +00:00
308f01c304
Change tsearch2 to not use the unsafe practice of creating functions
...
that return INTERNAL without also having INTERNAL arguments. Since the
functions in question aren't meant to be called by hand anyway, I just
redeclared them to take 'internal' instead of 'text'. Also add code
to ProcedureCreate() to enforce the restriction, as I should have done
to start with :-(
2005-05-03 16:51:45 +00:00
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