summaryrefslogtreecommitdiff
path: root/contrib/tsearch/parser.l
Commit message (Collapse)AuthorAgeFilesLines
* Remove contrib modules that have been agreed to be obsolete.Tom Lane2005-06-221-298/+0
| | | | | (There are more that will be removed once they've been copied to pgfoundry.org.)
* Fix some more 'old-style parameter declaration' warnings.Tom Lane2004-10-251-6/+13
|
* 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.
* Persuade tsearch/tsearch2 to work (or at least pass their regressionTom Lane2003-09-141-10/+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.
* Eliminate function start_parse_fh and macro YY_INPUTTeodor Sigaev2003-08-151-39/+0
|
* 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).
* 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.
* August 13, 2002Bruce Momjian2002-08-151-73/+88
| | | | | | | Use parser of OpenFTS v0.33. -- Teodor Sigaev
* 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.
* txtidx datatype for full text indexing with GiST.Tom Lane2001-10-121-0/+320
From Oleg Bartunov and Teodor Sigaev.