summaryrefslogtreecommitdiff
path: root/contrib/tsearch
Commit message (Collapse)AuthorAgeFilesLines
* pgindent run.Bruce Momjian2003-08-041-2/+3
|
* Update contrib regression tests for recent error message editing.Tom Lane2003-08-011-4/+4
|
* elog mop-up.Tom Lane2003-07-272-5/+1
|
* Error message editing in contrib (mostly by Joe Conway --- thanks Joe!)Tom Lane2003-07-244-38/+84
|
* Remove link of tarballTeodor Sigaev2003-07-221-2/+1
|
* Mark tsearch v1 as deprecatedTeodor Sigaev2003-07-221-0/+6
|
* Ensure that in all flex lexers that are part of the backend, aTom Lane2003-05-291-0/+3
| | | | | | | yy_fatal_error() call results in elog(ERROR) not exit(). This was already fixed in the main lexer and plpgsql, but extend same technique to all the other dot-l files. Also, on review of the possible calls to yy_fatal_error(), it seems safe to use elog(ERROR) not elog(FATAL).
* Make debug_ GUC varables output DEBUG1 rather than LOG, and mention inBruce Momjian2003-05-271-3/+3
| | | | | docs that CLIENT/LOG_MIN_MESSAGES now controls debug_* output location. Doc changes included.
* Backend support for autocommit removed, per recent discussions. TheTom Lane2003-05-142-10/+8
| | | | | | only remnant of this failed experiment is that the server will take SET AUTOCOMMIT TO ON. Still TODO: provide some client-side autocommit logic in libpq.
* This patch fixes a bunch of spelling mistakes in comments throughout theTom Lane2003-03-103-4/+4
| | | | | | PostgreSQL source code. Neil Conway
* This patch fixes minor bugs in dictionary generator in contrib/tsearchBruce Momjian2002-12-131-1/+3
| | | | | | | | (contrib/tsearch/makedict/makedict.pl) [ Backpatched to 7.3.] Teodor Sigaev
* Thank you very much, you catch it :). This bug had a long life, because itBruce Momjian2002-12-061-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | exists if and only if locale of postmaster was a different from C (or ru_RU.KOI8-R). Please, apply patch for current CVS & 7.3.1 Magnus Naeslund(f) wrote: > Ok, I nailed the bug, but i'm not sure what the correct fix is. > Attached tsearch_morph.diff that remedies this problem by avoiding it. > Also there's a debug aid patch if someone would like to know how i > finally found it out :) > > There problem in the lemmatize() function is that GETDICT(...) returned > a value not handled (BYLOCALE). > The value (-1) and later used as an index into the dicts[] array. > After that everything went berserk stack went crazy somehow so trapping > the fault sent me to the wrong place, and every time i read the value it > was positive ;) > > So now i just return the initial word passed to the lemmatize function, > because i don't know what to do with it. Magnus Naeslund
* Improve warning messages from tsearch trigger function; clean up someTom Lane2002-11-141-16/+23
| | | | | casting infelicities. Allow char(n) fields to be indexed. Per Bjoern Metzdorf.
* Need -I. to build outside source tree.Tom Lane2002-11-011-1/+3
|
* Arrange to compile flex output files as inclusions into other filesTom Lane2002-11-012-2/+7
| | | | | | | | (usually bison output files), not as standalone files. This hack works around flex's insistence on including <stdio.h> before we are able to include postgres.h; postgres.h will already be read before the compiler starts to read the flex output file. Needed for largefile support on some platforms.
* Ooops, forgot to fix contrib regression tests for WARNING/NOTICE change.Tom Lane2002-11-011-8/+8
|
* SET autocommit no longer needed in /contrib because pg_regress.sh doesBruce Momjian2002-10-211-1/+0
| | | | it automatically now on regression session startup.
* Update /contrib for "autocommit TO 'on'".Bruce Momjian2002-10-183-268/+308
| | | | | | | | | | Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
* Fix compile errors.Tom Lane2002-09-051-14/+11
|
* Be careful to include postgres.h *before* any system headers, to ensureTom Lane2002-09-051-2/+2
| | | | | | that the right flavors of largefile-related definitions are seen. Most of these changes are probably unnecessary, but better safe than sorry.
* pgindent run.Bruce Momjian2002-09-045-366/+494
|
* Remove all traces of multibyte and locale options. Clean up commentsPeter Eisentraut2002-09-032-11/+0
| | | | referring to "multibyte" where it really means character encoding.
* please apply small patch for README.tsearch.Bruce Momjian2002-08-291-2/+62
| | | | | | I've documented space usage and using CLUSTER command Oleg Bartunov
* Patch resolve ERROR problem for non-goog query_txt.Bruce Momjian2002-08-234-8/+20
| | | | Teodor Sigaev
* Update contrib regression tests for OPAQUE datatype changes.Tom Lane2002-08-231-0/+8
|
* Add a bunch of pseudo-types to replace the behavior formerly associatedTom Lane2002-08-221-30/+36
| | | | | | with OPAQUE, as per recent pghackers discussion. I still want to do some more work on the 'cstring' pseudo-type, but I'm going to commit the bulk of the changes now before the tree starts shifting under me ...
* August 13, 2002Bruce Momjian2002-08-155-100/+129
| | | | | | | Use parser of OpenFTS v0.33. -- Teodor Sigaev
* Replace ad-hoc insertions into pg_opclass and friends with CREATETom Lane2002-07-301-91/+17
| | | | OPERATOR CLASS commands. Further tweaking of documentation for same.
* Since we're depending on %option noyywrap in the main scanner now,Tom Lane2002-07-301-5/+6
| | | | | we may as well use it in all our flex files. Make all the flex files have a consistent set of options.
* Opclasses live in namespaces. I also took the opportunity to createTom Lane2002-04-171-1/+3
| | | | | | | an 'opclass owner' column in pg_opclass. Nothing is done with it at present, but since there are plans to invent a CREATE OPERATOR CLASS command soon, we'll probably want DROP OPERATOR CLASS too, which suggests that a notion of ownership would be a good idea.
* > > Users of contrib/tsearch needs after upgrading of module (compiling, ↵Bruce Momjian2002-03-191-9/+0
| | | | | | | | | | | | | | | | | | installing) > > to perform sql command: > > update pg_amop set amopreqcheck = true where amopclaid = > > (select oid from pg_opclass where opcname = 'gist_txtidx_ops'); > > Oleg, sorry, I don't understand where this should appear. In the README > file, and if so, where? Is this something only for people upgrading > from 7.2? Sorry Bruce, I was unclear. I have attached patch to Readme.tsearch Also, It'd be worth to mention in Changes to point users of tsearch about importang upgrade notices. Oleg Bartunov
* > > Users of contrib/tsearch needs after upgrading of module (compiling, ↵Bruce Momjian2002-03-191-0/+9
| | | | | | | | | | | | | | | | | | installing) > > to perform sql command: > > update pg_amop set amopreqcheck = true where amopclaid = > > (select oid from pg_opclass where opcname = 'gist_txtidx_ops'); > > Oleg, sorry, I don't understand where this should appear. In the README > file, and if so, where? Is this something only for people upgrading > from 7.2? Sorry Bruce, I was unclear. I have attached patch to Readme.tsearch Also, It'd be worth to mention in Changes to point users of tsearch about importang upgrade notices. Oleg Bartunov
* Pleas apply it for 7.2.1 and current CVS.Bruce Momjian2002-03-111-6/+7
| | | | | | Patch fixes using lc.lang instead of lc.lc_ctype. Teodor Sigaev
* Change made to elog:Bruce Momjian2002-03-062-4/+4
| | | | | | | | | | | | | | | | | | | o Change all current CVS messages of NOTICE to WARNING. We were going to do this just before 7.3 beta but it has to be done now, as you will see below. o Change current INFO messages that should be controlled by client_min_messages to NOTICE. o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc. to always go to the client. o Remove INFO from the client_min_messages options and add NOTICE. Seems we do need three non-ERROR elog levels to handle the various behaviors we need for these messages. Regression passed.
* Please, apply attached patch for contrib/tsearch to 7.2.1 and currentBruce Momjian2002-03-051-2/+5
| | | | | | | | | | | | | | | CVS. It fix english stemmer's problem with ending words like 'technology'. We have found one more bug in english stemmer. The bug is with 'irregular' english words like 'skies' -> 'sky'. Please, apply attached cumulative patch to 7.2.1 and current CVS instead previous one. Thank to Thomas T. Thai <tom@minnesota.com> for hard testing. This kind of bug has significance only for dump/reload database and viewing, but searching/indexing works right. Teodor Sigaev
* Repair some problems in GIST-index contrib modules. Patch fromTom Lane2002-02-073-33/+35
| | | | Teodor Sigaev <teodor@stack.net>.
* This patch mark datatype txtidx as 'extended' storage type.Bruce Momjian2001-11-261-1/+2
| | | | | | Thanks. Teodor Sigaev
* New pgindent run with fixes suggested by Tom. Patch manually reviewed,Bruce Momjian2001-11-057-14/+14
| | | | initdb/regression tests pass.
* Another pgindent run. Fixes enum indenting, and improves #endifBruce Momjian2001-10-2810-4/+12
| | | | spacing. Also adds space for one-line comments.
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-2513-860/+1126
| | | | tests pass.
* Add do { ... } while (0) to more bad macros.Bruce Momjian2001-10-252-3/+9
|
* Updated regression test for tsearch, from Teodor Sigaev.Tom Lane2001-10-152-12/+12
|
* txtidx datatype for full text indexing with GiST.Tom Lane2001-10-1225-0/+24863
From Oleg Bartunov and Teodor Sigaev.