Teodor Sigaev
fc565cfc7b
Fix parser bug on Windows with UTF8 encoding and C locale, the reason was
...
sizeof(wchar_t) = 2 instead of 4.
2007-03-22 15:59:09 +00:00
Teodor Sigaev
35466cff0a
Fix localization support for multibyte encoding and C locale.
...
Slightly reworked patch from Tatsuo Ishii
2007-01-15 15:16:11 +00:00
Bruce Momjian
f99a569a2e
pgindent run for 8.2.
2006-10-04 00:30:14 +00:00
Bruce Momjian
f3d99d160d
Add CVS tag lines to files that were lacking them.
2006-03-11 04:38:42 +00:00
Teodor Sigaev
cb4ea994c6
Improve support of multibyte encoding:
...
- tsvector_(in|out)
- tsquery_(in|out)
- to_tsvector
- to_tsquery, plainto_tsquery
- 'simple' dictionary
2005-12-12 11:10:12 +00:00
Teodor Sigaev
faacdab101
Improve tag recognizing
2005-12-08 09:11:19 +00:00
Teodor Sigaev
9551ab2fe9
Fix small memory leak
2005-12-07 13:30:15 +00:00
Teodor Sigaev
4f94b49a31
Improve word parser.
...
- allow ~ in filenames
- -8.2.1 now is '-' and '8.2.1' instead of '-8.2' '.' '3'
- '.text' now is not a file
2005-12-07 13:12:54 +00:00
Teodor Sigaev
e8c81e179e
Improve word parser.
...
- improve file and path recognition
- fix misspeling
- improve tag recognition
2005-12-05 18:13:22 +00:00
Bruce Momjian
436a2956d8
Re-run pgindent, fixing a problem where comment lines after a blank
...
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.
2005-11-22 18:17:34 +00:00
Teodor Sigaev
3c6cd8a113
Fixes motivated by snake and spoonbill pgbuildfarm members
2005-11-22 09:01:35 +00:00
Teodor Sigaev
62699337bc
remove forgotten // comments
2005-11-21 18:00:52 +00:00
Teodor Sigaev
c52795d18a
Text parser rewritten:
...
- 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'
2005-11-21 12:27:57 +00:00
Tom Lane
c62b29a603
Fix several contrib makefiles that failed in VPATH builds, particularly
...
when not using gcc (which has slightly nonstandard inclusion rules).
2005-10-18 01:30:49 +00:00
Tom Lane
ad148c4154
Suppress warnings on platforms where fprintf is a macro (eg, recent
...
Fedora). This was already done by somebody for the core flex files,
but these contrib files seem to have been missed.
2005-10-15 20:37:36 +00:00
Tom Lane
0b36cb83dc
PGXS should be set with := not =, as specified in the documentation,
...
to avoid useless multiple executions of pg_config.
2005-09-27 17:13:14 +00:00
Teodor Sigaev
f82b853b47
1 Update Snowball sources
...
2 Makefile fixes
2005-09-15 11:14:18 +00:00
Tom Lane
0636d55843
Fix some more 'old-style parameter declaration' warnings.
2004-10-25 02:30:29 +00:00
Bruce Momjian
b6b71b85bc
Pgindent run for 8.0.
2004-08-29 05:07:03 +00:00
Teodor Sigaev
bb89237531
1 Eliminate duplicate field HLWORD->skip
...
2 Rework support for html tags in parser
3 add HighlightAll to headline function for generating highlighted
whole text with saved html tags
2004-06-28 16:19:09 +00:00
Tom Lane
fa96a5e15b
Add %option nodefault to all our flex lexers. Fix a couple of rule gaps
...
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.
2004-02-24 22:06:32 +00:00
Teodor Sigaev
a5a68766e1
One more fix confusion
2003-12-05 15:37:51 +00:00
Teodor Sigaev
8f678600c2
Avoid confusion start_parse_str function with tsearch V1
2003-12-05 14:27:42 +00:00
PostgreSQL Daemon
969685ad44
$Header: -> $PostgreSQL Changes ...
2003-11-29 19:52:15 +00:00
Tom Lane
3f43446e36
Persuade tsearch/tsearch2 to work (or at least pass their regression
...
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.
2003-09-14 18:44:23 +00:00
Peter Eisentraut
3d0d78ce2f
Bring the makefiles up to our conventions.
2003-08-23 04:25:29 +00:00
Teodor Sigaev
d3fe721a40
Eliminate function start_parse_fh and macro YY_INPUT
2003-08-15 13:44:35 +00:00
Tom Lane
3b29525a79
Sub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else their
...
object files do not get built with -fpic.
2003-08-04 20:34:26 +00:00
Tom Lane
f237a80d8a
Fix to build correctly outside source tree.
2003-08-04 19:52:37 +00:00
Teodor Sigaev
d6f0f44b55
make sub-Makefiles in the sub-directories
2003-08-04 14:54:47 +00:00
Bruce Momjian
089003fb46
pgindent run.
2003-08-04 00:43:34 +00:00
Teodor Sigaev
b88605337e
tsearch2 module
2003-07-21 10:27:44 +00:00