summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/wordparser
Commit message (Collapse)AuthorAgeFilesLines
* Replace the now-incompatible-with-core contrib/tsearch2 module with aTom Lane2007-11-135-1553/+0
| | | | | | | | compatibility package. This supports importing dumps from past versions using tsearch2, and provides the old names and API for most functions that were changed. (rewrite(ARRAY[...]) is a glaring omission, though.) Pavel Stehule and Tom Lane
* Fix PGXS conventions so that extensions can be built against PostgresTom Lane2007-06-261-2/+3
| | | | | | installations whose pg_config program does not appear first in the PATH. Per gripe from Eddie Stanley and subsequent discussions with Fabien Coelho and others.
* Fix parser bug on Windows with UTF8 encoding and C locale, the reason wasTeodor Sigaev2007-03-221-2/+2
| | | | sizeof(wchar_t) = 2 instead of 4.
* Fix localization support for multibyte encoding and C locale.Teodor Sigaev2007-01-151-30/+104
| | | | Slightly reworked patch from Tatsuo Ishii
* pgindent run for 8.2.Bruce Momjian2006-10-041-7/+7
|
* Add CVS tag lines to files that were lacking them.Bruce Momjian2006-03-114-0/+8
|
* Improve support of multibyte encoding:Teodor Sigaev2005-12-122-0/+5
| | | | | | | | - tsvector_(in|out) - tsquery_(in|out) - to_tsvector - to_tsquery, plainto_tsquery - 'simple' dictionary
* Improve tag recognizingTeodor Sigaev2005-12-082-2/+22
|
* Fix small memory leakTeodor Sigaev2005-12-071-1/+1
|
* Improve word parser.Teodor Sigaev2005-12-072-1/+51
| | | | | | - allow ~ in filenames - -8.2.1 now is '-' and '8.2.1' instead of '-8.2' '.' '3' - '.text' now is not a file
* Improve word parser.Teodor Sigaev2005-12-052-22/+65
| | | | | | - improve file and path recognition - fix misspeling - improve tag recognition
* Re-run pgindent, fixing a problem where comment lines after a blankBruce Momjian2005-11-222-614/+678
| | | | | | | | | comment line where output as too long, and update typedefs for /lib directory. Also fix case where identifiers were used as variable names in the backend, but as typedefs in ecpg (favor the backend for indenting). Backpatch to 8.1.X.
* Fixes motivated by snake and spoonbill pgbuildfarm membersTeodor Sigaev2005-11-221-3/+3
|
* remove forgotten // commentsTeodor Sigaev2005-11-211-2/+0
|
* Text parser rewritten:Teodor Sigaev2005-11-216-363/+1175
| | | | | | | | | | | - supports multibyte encodings - more strict rules for lexemes - flex isn't used Add: - tsquery plainto_tsquery(text) Function makes tsquery from plain text. - &&, ||, !! operation for tsquery for combining tsquery from it's parts: 'foo & bar' || 'asd' => 'foo & bar | asd'
* Fix several contrib makefiles that failed in VPATH builds, particularlyTom Lane2005-10-181-4/+5
| | | | when not using gcc (which has slightly nonstandard inclusion rules).
* Suppress warnings on platforms where fprintf is a macro (eg, recentTom Lane2005-10-151-0/+1
| | | | | Fedora). This was already done by somebody for the core flex files, but these contrib files seem to have been missed.
* PGXS should be set with := not =, as specified in the documentation,Tom Lane2005-09-271-2/+2
| | | | to avoid useless multiple executions of pg_config.
* 1 Update Snowball sourcesTeodor Sigaev2005-09-151-8/+13
| | | | 2 Makefile fixes
* Fix some more 'old-style parameter declaration' warnings.Tom Lane2004-10-251-7/+17
|
* Pgindent run for 8.0.Bruce Momjian2004-08-291-2/+2
|
* 1 Eliminate duplicate field HLWORD->skipTeodor Sigaev2004-06-281-21/+59
| | | | | | 2 Rework support for html tags in parser 3 add HighlightAll to headline function for generating highlighted whole text with saved html tags
* Add %option nodefault to all our flex lexers. Fix a couple of rule gapsTom Lane2004-02-241-0/+1
| | | | | | exposed thereby. AFAICT these would not lead to any worse problems than junk emitted on the backend's stdout, but we should have the option to catch possible worse errors in future.
* One more fix confusionTeodor Sigaev2003-12-051-1/+1
|
* Avoid confusion start_parse_str function with tsearch V1Teodor Sigaev2003-12-052-6/+7
|
* $Header: -> $PostgreSQL Changes ...PostgreSQL Daemon2003-11-291-1/+1
|
* Persuade tsearch/tsearch2 to work (or at least pass their regressionTom Lane2003-09-141-13/+0
| | | | | | | | 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.
* Bring the makefiles up to our conventions.Peter Eisentraut2003-08-231-4/+3
|
* Eliminate function start_parse_fh and macro YY_INPUTTeodor Sigaev2003-08-152-39/+0
|
* Sub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else theirTom Lane2003-08-041-0/+1
| | | | object files do not get built with -fpic.
* Fix to build correctly outside source tree.Tom Lane2003-08-041-1/+1
|
* make sub-Makefiles in the sub-directoriesTeodor Sigaev2003-08-041-0/+27
|
* pgindent run.Bruce Momjian2003-08-041-3/+2
|
* tsearch2 moduleTeodor Sigaev2003-07-214-0/+447