- Apr 12, 2006
-
-
Bruce Momjian authored
jw.pgsql@sduept.com
-
- Apr 10, 2006
-
-
Teodor Sigaev authored
-
- Apr 03, 2006
-
-
Peter Eisentraut authored
is done for the analogous files in the main distribution.
-
Teodor Sigaev authored
-
Teodor Sigaev authored
-
- Mar 19, 2006
-
-
Neil Conway authored
non-NULL: palloc() ereports on OOM, so we can safely assume it returns a valid pointer.
-
- Mar 14, 2006
-
-
Tom Lane authored
during parse analysis, not only errors detected in the flex/bison stages. This is per my earlier proposal. This commit includes all the basic infrastructure, but locations are only tracked and reported for errors involving column references, function calls, and operators. More could be done later but this seems like a good set to start with. I've also moved the ReportSyntaxErrorPosition logic out of psql and into libpq, which should make it available to more people --- even within psql this is an improvement because warnings weren't handled by ReportSyntaxErrorPosition.
-
- Mar 13, 2006
-
-
Neil Conway authored
Most of the changes add the mandatory USING clause to DROP OPERATOR CLASS statements. DROP TYPE is now DROP TYPE CASCADE; without CASCADE a DROP TYPE fails due to the circular dependency on the type's I/O functions. The DROP FUNCTION statements for the I/O functions have been removed, as DROP TYPE CASCADE removes them automatically. Patch from Michael Fuhr.
-
- Mar 11, 2006
-
-
Bruce Momjian authored
-
Neil Conway authored
similar constants if they were not previously defined. All these constants must be defined by limits.h according to C89, so we can safely assume they are present.
-
- Mar 10, 2006
-
-
Tom Lane authored
-
- Mar 08, 2006
-
-
Bruce Momjian authored
-
- Mar 07, 2006
-
-
Tom Lane authored
(respectively) to rename yylex and related symbols. Some were doing it this way already, while others used not-too-reliable sed hacks in the Makefiles. It's all nice and consistent now.
-
- Mar 05, 2006
-
-
Bruce Momjian authored
-
- Mar 02, 2006
-
-
Teodor Sigaev authored
1) rank_cd now use weight of lexemes 2) rank_cd and rank can use any combination of normalization methods: no normalization normalization by log(length of document) -----/------- by length of document -----/------- by number of unique word in document -----/------- by log(number of unique word in document) -----/------- by number of covers (only rank_cd) Improve cover's search. TODO: changes in documentation
-
Neil Conway authored
regression tests to account for the new error message wording. It seems today is not my day...
-
- Mar 01, 2006
-
-
Neil Conway authored
error messages I made yesterday -- thanks to Andrew Dunstan for reporting this, and my apologies for missing it the first time.
-
Neil Conway authored
are unnecessarily allocated on the heap rather than the stack. If the StringInfo doesn't outlive the stack frame in which it is created, there is no need to allocate it on the heap via makeStringInfo() -- stack allocation is faster. While it's not a big deal unless the code is in a critical path, I don't see a reason not to save a few cycles -- using stack allocation is not less readable. I also cleaned up a bit of code along the way: moved variable declarations into a more tightly-enclosing scope where possible, fixed some pointless copying of strings in dblink, etc.
-
Neil Conway authored
more compliant with the error message style guide. In particular, errdetail should begin with a capital letter and end with a period, whereas errmsg should not. I also fixed a few related issues in passing, such as fixing the repeated misspelling of "lexeme" in contrib/tsearch2 (per Tom's suggestion).
-
- Feb 27, 2006
-
-
Peter Eisentraut authored
particular get rid of single quotes around language names and old WITH () construct.
-
Peter Eisentraut authored
by David Fetter
-
- Feb 25, 2006
-
- Feb 23, 2006
-
-
Tom Lane authored
Per Michael Fuhr.
-
- Feb 20, 2006
-
-
Teodor Sigaev authored
previous version iwthout recreating tsvector fields... Thanks to Alexander Presber <aljoscha@weisshuhn.de> to discover a problem.
-
- Feb 18, 2006
-
-
Neil Conway authored
pgcrypto crypt()/md5 and hmac() leak memory when compiled against OpenSSL as openssl.c digest ->reset will do two DigestInit calls against a context. This happened to work with OpenSSL 0.9.6 but not with 0.9.7+. Reason for the messy code was that I tried to avoid creating wrapper structure to transport algorithm info and tried to use OpenSSL context for it. The fix is to create wrapper structure. It also uses newer digest API to avoid memory allocations on reset with newer OpenSSLs. Thanks to Daniel Blaisdell for reporting it.
-
- Feb 14, 2006
-
-
Tom Lane authored
-
- Feb 12, 2006
-
-
Bruce Momjian authored
Mark Kirkwood
-
- Feb 10, 2006
-
-
Tom Lane authored
-
Tom Lane authored
-
Teodor Sigaev authored
multibyte support work. Add line number to error output during affix file parsing.
-
- Feb 09, 2006
-
-
Teodor Sigaev authored
sorry but fix can't be applyed to previous version: it's require refill tsvector... 2 Small optimize of load time for huge dictionaries 3 use palloc instead of malloc during load dict file
-
- Feb 06, 2006
-
-
Teodor Sigaev authored
-
- Jan 27, 2006
-
-
Teodor Sigaev authored
singlebyte encodings, so we should have snowball for every encodings. I hope that finalize multibyte support work in tsearch2, but testing is needed...
-
- Jan 26, 2006
-
-
Tom Lane authored
have a separate set of CIDR code here, either.
-
- Jan 23, 2006
-
-
Teodor Sigaev authored
-
- Jan 20, 2006
-
-
Tom Lane authored
sizebitvec of tsearch2, as well as identical code in several other contrib modules. This provided about a 20X speedup in building a large tsearch2 index ... didn't try to measure its effects for other operations. Thanks to Stephan Vollmer for providing a test case.
-
- Jan 08, 2006
-
-
Tom Lane authored
difference between USE_ASSERT_CHECKING and not: the assert_enabled variable is always there.
-
- Jan 04, 2006
-
-
Tom Lane authored
This makes the salt space for md5 and xdes algorithms a lot smaller than it should be. Marko Kreen
-
Joe Conway authored
than the local query specifies (e.g. in the FROM clause), throw an ERROR (instead of crashing). Fix for bug #2129 reported by Akio Iwaasa.
-