Teodor Sigaev
d77a9018fa
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:17:34 +00:00
Tom Lane
e378f82e00
Make use of qsort_arg in several places that were formerly using klugy
...
static variables. This avoids any risk of potential non-reentrancy,
and in particular offers a much cleaner workaround for the Intel compiler
bug that was affecting ginutil.c.
2006-10-05 17:57:40 +00:00
Bruce Momjian
f99a569a2e
pgindent run for 8.2.
2006-10-04 00:30:14 +00:00
Bruce Momjian
0c4f2894f9
Use '' rather than \' for literal single quotes in strings in
...
/contrib/tsearch2.
Teodor Sigaev
2006-09-02 22:03:30 +00:00
Teodor Sigaev
3a214ab0f1
Remove pos comparison in silly_cmp_tsvector(): it is not a semantically significant
2006-08-29 13:39:20 +00:00
Teodor Sigaev
9711782628
Fix incorrect length of lexemes in silly_cmp_tsvector()
2006-08-29 13:31:54 +00:00
Teodor Sigaev
8f91e2b607
Fix compare bug for tsvector: problem was in aligment. Per Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> and Phil Frost <indigo@bitglue.com>
2006-08-24 17:37:34 +00:00
Bruce Momjian
ac230e7431
Alphabetically order reference to include files, "S"-"Z".
2006-07-11 18:26:11 +00:00
Bruce Momjian
19892feb3c
Back out \' change for tsearch2, broke regression tests.
2006-05-19 04:39:47 +00:00
Bruce Momjian
cc84163fa9
Use SQL standard '' rather than \' in /contrib. Backpatch to 8.1.X.
2006-05-19 02:38:47 +00:00
Neil Conway
8e5a10d46c
This patch makes the error message strings throughout the backend
...
more compliant with the error message style guide. In particular,
errdetail should begin with a capital letter and end with a period,
whereas errmsg should not. I also fixed a few related issues in
passing, such as fixing the repeated misspelling of "lexeme" in
contrib/tsearch2 (per Tom's suggestion).
2006-03-01 06:30:32 +00:00
Teodor Sigaev
cb4ea994c6
Improve support of multibyte encoding:
...
- tsvector_(in|out)
- tsquery_(in|out)
- to_tsvector
- to_tsquery, plainto_tsquery
- 'simple' dictionary
2005-12-12 11:10:12 +00:00
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
2005-10-15 02:49:52 +00:00
Teodor Sigaev
fb13881f42
1 fix various comparing functions
...
2 implement gtsvector_out for use with gevel module (debug GiST indexes, http://www.sai.msu.su/~megera/postgres/gist/gevel/ )
2005-03-31 15:08:08 +00:00
Teodor Sigaev
fe30edbab8
Change
...
typedef struct {} WordEntryPos;
to
typedef uint16 WordEntryPos
according to http://www.pgsql.ru/db/mw/msg.html?mid=2035188
Require re-fill all tsvector fields and reindex tsvector indexes.
2005-01-25 12:36:25 +00:00
Bruce Momjian
15d3f9f6b7
Another pgindent run with lib typedefs added.
2004-08-30 02:54:42 +00:00
Bruce Momjian
b6b71b85bc
Pgindent run for 8.0.
2004-08-29 05:07:03 +00:00
Teodor Sigaev
553bc41633
1 add namespaces as Tom suggest http://www.pgsql.ru/db/mw/msg.html?mid=1987703
...
2 remove select qeury in inserts
2004-05-31 16:51:56 +00:00
Teodor Sigaev
11864ab657
Win32 related patch by Darko Prenosil. Small correct by teodor
2004-05-31 13:29:43 +00:00
Neil Conway
72b6ad6313
Use the new List API function names throughout the backend, and disable the
...
list compatibility API by default. While doing this, I decided to keep
the llast() macro around and introduce llast_int() and llast_oid() variants.
2004-05-30 23:40:41 +00:00
Tom Lane
89ee5b89a6
Fix some more compatibility issues (ctype.h macros must never be passed
...
signed chars...)
2004-04-02 00:41:18 +00:00
Teodor Sigaev
eebdfcdbe6
1 Minimize memory allocation for void (but not null) value.
...
2 Add silly ordering for ts_vector to aim grouping, union, except etc. Don't use BTree opclass (tsvector_ops).
2004-03-25 16:56:10 +00:00
Teodor Sigaev
baeab89de6
Fixes about word with several infiniteve
2003-11-27 16:04:40 +00:00
Bruce Momjian
089003fb46
pgindent run.
2003-08-04 00:43:34 +00:00
Tom Lane
81b5c8a136
A visit from the message-style police ...
2003-07-28 00:09:16 +00:00
Tom Lane
8fd5b3ed67
Error message editing in contrib (mostly by Joe Conway --- thanks Joe!)
2003-07-24 17:52:50 +00:00
Teodor Sigaev
b88605337e
tsearch2 module
2003-07-21 10:27:44 +00:00