summaryrefslogtreecommitdiff
path: root/contrib/tsearch2
Commit message (Collapse)AuthorAgeFilesLines
* Fix silly bugTeodor Sigaev2004-06-011-1/+1
|
* 1 add namespaces as Tom suggest http://www.pgsql.ru/db/mw/msg.html?mid=1987703Teodor Sigaev2004-05-3111-113/+233
| | | | 2 remove select qeury in inserts
* Fix memory leak with pg_regexecTeodor Sigaev2004-05-311-1/+4
|
* Fix memory leak with pg_regcompTeodor Sigaev2004-05-311-0/+1
|
* Win32 related patch by Darko Prenosil. Small correct by teodorTeodor Sigaev2004-05-316-20/+38
|
* Use the new List API function names throughout the backend, and disable theNeil Conway2004-05-301-2/+2
| | | | | list compatibility API by default. While doing this, I decided to keep the llast() macro around and introduce llast_int() and llast_oid() variants.
* Stat function now can show statistics per weight of lexemesTeodor Sigaev2004-05-286-37/+160
|
* Update docs from Andrew J. Kopciuch <akopciuch@bddf.ca>Teodor Sigaev2004-05-142-724/+785
|
* Suppress 'uninitialized variable' warning emitted by some (not all)Tom Lane2004-05-071-1/+1
| | | | | versions of gcc. The code is correct AFAICS, but it requires slightly more analysis than usual to see that the variable can't be used uninitialized.
* Use regprocedure type instead of oid. Usefull for human read and dump/restoreTeodor Sigaev2004-05-071-7/+7
|
* Solve the 'Turkish problem' with undesirable locale behavior for caseTom Lane2004-05-073-12/+12
| | | | | | | | | | | | | conversion of basic ASCII letters. Remove all uses of strcasecmp and strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp; remove most but not all direct uses of toupper and tolower in favor of pg_toupper and pg_tolower. These functions use the same notions of case folding already developed for identifier case conversion. I left the straight locale-based folding in place for situations where we are just manipulating user data and not trying to match it to built-in strings --- for example, the SQL upper() function is still locale dependent. Perhaps this will prove not to be what's wanted, but at the moment we can initdb and pass regression tests in Turkish locale.
* Fix some more compatibility issues (ctype.h macros must never be passedTom Lane2004-04-023-13/+14
| | | | signed chars...)
* Fix some portability issues (reliance on gcc-isms).Tom Lane2004-04-017-17/+46
|
* Replace TupleTableSlot convention for whole-row variables and functionTom Lane2004-04-012-6/+3
| | | | | | | | results with tuples as ordinary varlena Datums. This commit does not in itself do much for us, except eliminate the horrid memory leak associated with evaluation of whole-row variables. However, it lays the groundwork for allowing composite types as table columns, and perhaps some other useful features as well. Per my proposal of a few days ago.
* Cleanup vectors of GISTENTRY and eliminate problem with 64-bit strict-alignedTeodor Sigaev2004-03-303-10/+9
| | | | | | boxes. Change interface to user-defined GiST support methods union and picksplit. Now instead of bytea struct it used special GistEntryVector structure.
* 1 Minimize memory allocation for void (but not null) value.Teodor Sigaev2004-03-254-0/+722
| | | | 2 Add silly ordering for ts_vector to aim grouping, union, except etc. Don't use BTree opclass (tsvector_ops).
* 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.
* The following bug has been logged online:Bruce Momjian2004-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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,
* Fix signed char in comparison and check memory allocationTeodor Sigaev2003-12-181-4/+5
|
* Fix integer types to use definition from c.h. Per bug report by Patrick ↵Teodor Sigaev2003-12-102-15/+15
| | | | Boulay <patrick.boulay@medrium.com>
* One more fix confusionTeodor Sigaev2003-12-051-1/+1
|
* Avoid confusion start_parse_str function with tsearch V1Teodor Sigaev2003-12-053-8/+9
|
* Avoid conflict strndup with glibcTeodor Sigaev2003-12-041-4/+4
|
* Fix for word with several infinitivesTeodor Sigaev2003-12-031-1/+1
|
* $Header: -> $PostgreSQL Changes ...PostgreSQL Daemon2003-11-294-4/+4
|
* Fix free instead of pfreeTeodor Sigaev2003-11-281-8/+8
|
* Fixes about word with several infiniteveTeodor Sigaev2003-11-272-3/+5
|
* Utility for convert myspell dictionaries to ispell, full README will be laterTeodor Sigaev2003-11-262-0/+59
|
* Ignore too long lexemeTeodor Sigaev2003-11-251-2/+20
|
* Optimize. Improve ispell support for compound words. This work was sponsored ↵Teodor Sigaev2003-11-173-294/+706
| | | | by ABC Startsiden AS.
* I've not changed any malloc/calloc to palloc. It looks to me that these memoryBruce Momjian2003-09-293-9/+38
| | | | | | | | | | | | | | 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
* fix hlfinditem function. Thanks to "Stphane Bidoul" ↵Teodor Sigaev2003-09-222-6/+7
| | | | | | | | | <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.
* 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.
* Fix incorrect pfree in to_tsquery_name(), per Nigel Andrews.Tom Lane2003-09-121-9/+5
|
* More accuracy works with stopwords in queriesTeodor Sigaev2003-08-285-56/+39
|
* fix module name in MODULE_PATHNAME substitutionTeodor Sigaev2003-08-261-4/+2
|
* Bring the makefiles up to our conventions.Peter Eisentraut2003-08-235-24/+19
|
* ISpell info updatedTeodor Sigaev2003-08-211-142/+178
|
* Eliminate function start_parse_fh and macro YY_INPUTTeodor Sigaev2003-08-152-39/+0
|
* Correct error messagesTeodor Sigaev2003-08-131-2/+2
|
* More accuracy work with MinWords option of headline functionTeodor Sigaev2003-08-131-5/+19
|
* Another pgindent run with updated typedefs.Bruce Momjian2003-08-085-134/+139
|
* OpenFTS vs Tsearch2 commentTeodor Sigaev2003-08-061-1/+12
|
* Add documentation about ts_debugTeodor Sigaev2003-08-061-28/+27
|
* Add ts_debug function for debugging configurationsTeodor Sigaev2003-08-064-0/+52
|
* Sub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else theirTom Lane2003-08-043-0/+3
| | | | object files do not get built with -fpic.
* Fix to build correctly outside source tree.Tom Lane2003-08-044-5/+5
|
* make sub-Makefiles in the sub-directoriesTeodor Sigaev2003-08-044-12/+86
|
* Docs fixesTeodor Sigaev2003-08-041-127/+137
|
* pgindent run.Bruce Momjian2003-08-0436-4558/+5984
|