summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/dict.c
Commit message (Collapse)AuthorAgeFilesLines
* For some reason access/tupmacs.h has been #including utils/memutils.h,Tom Lane2005-05-061-6/+5
| | | | | | | which is neither needed by nor related to that header. Remove the bogus inclusion and instead include the header in those C files that actually need it. Also fix unnecessary inclusions and bad inclusion order in tsearch2 files.
* 1 fix various comparing functionsTeodor Sigaev2005-03-311-1/+3
| | | | 2 implement gtsvector_out for use with gevel module (debug GiST indexes, http://www.sai.msu.su/~megera/postgres/gist/gevel/)
* improve support of agglutinative languages (query with compound words).Teodor Sigaev2005-01-251-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regression=# select to_tsquery( '\'fotballklubber\''); to_tsquery ------------------------------------------------ 'fotball' & 'klubb' | 'fot' & 'ball' & 'klubb' (1 row) So, changed interface to dictionaries, lexize method of dictionary shoud return pointer to aray of TSLexeme structs instead of char**. Last element should have TSLexeme->lexeme == NULL. typedef struct { /* number of variant of split word , for example Word 'fotballklubber' (norwegian) has two varian to split: ( fotball, klubb ) and ( fot, ball, klubb ). So, dictionary should return: nvariant lexeme 1 fotball 1 klubb 2 fot 2 ball 2 klubb */ uint16 nvariant; /* currently unused */ uint16 flags; /* C-string */ char *lexeme; } TSLexeme;
* Pgindent run for 8.0.Bruce Momjian2004-08-291-13/+17
|
* 1 add namespaces as Tom suggest http://www.pgsql.ru/db/mw/msg.html?mid=1987703Teodor Sigaev2004-05-311-22/+27
| | | | 2 remove select qeury in inserts
* Fix some portability issues (reliance on gcc-isms).Tom Lane2004-04-011-4/+10
|
* pgindent run.Bruce Momjian2003-08-041-149/+174
|
* Error message editing in contrib (mostly by Joe Conway --- thanks Joe!)Tom Lane2003-07-241-1/+4
|
* tsearch2 moduleTeodor Sigaev2003-07-211-0/+275