aboutsummaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAge
...
* Significantly improve ranking:Teodor Sigaev2006-03-02
| | | | | | | | | | | | | | | 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
* Woops: also update the alternative "expected" files for contrib/cube'sNeil Conway2006-03-01
| | | | | regression tests to account for the new error message wording. It seems today is not my day...
* Update the expected regression test results to account for the changes toNeil Conway2006-03-01
| | | | | error messages I made yesterday -- thanks to Andrew Dunstan for reporting this, and my apologies for missing it the first time.
* Attached is a patch that replaces a bunch of places where StringInfosNeil Conway2006-03-01
| | | | | | | | | | | | | 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.
* This patch makes the error message strings throughout the backendNeil Conway2006-03-01
| | | | | | | | 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).
* Clean up CREATE FUNCTION syntax usage in contrib and elsewhere, inPeter Eisentraut2006-02-27
| | | | | particular get rid of single quotes around language names and old WITH () construct.
* contrib uninstall scriptsPeter Eisentraut2006-02-27
| | | | by David Fetter
* Remove ora2pg; now available at <http://www.samse.fr/GPL/ora2pg/>.Peter Eisentraut2006-02-25
|
* Fix vacuumlo to avoid unnecessary use of backslash in search pattern.Tom Lane2006-02-23
| | | | Per Michael Fuhr.
* Fixing and improve compound word support. This changes cannot be applied toTeodor Sigaev2006-02-20
| | | | | | previous version iwthout recreating tsvector fields... Thanks to Alexander Presber <aljoscha@weisshuhn.de> to discover a problem.
* Patch from Marko Kreen:Neil Conway2006-02-18
| | | | | | | | | | | | | | | | 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.
* Need a DLLIMPORT for MaxFSMPages, per buildfarm failure on snake.Tom Lane2006-02-14
|
* Add contrib/pg_freespacemap to display free space map information.Bruce Momjian2006-02-12
| | | | Mark Kirkwood
* Clean up some signedness warnings.Tom Lane2006-02-10
|
* Fix fallout from psql line-wrapping patch.Tom Lane2006-02-10
|
* Allow "'" symbol in affixes ("'s" affix in english): it was diallowed duringTeodor Sigaev2006-02-10
| | | | | multibyte support work. Add line number to error output during affix file parsing.
* renew output of regression test accordingly toTeodor Sigaev2006-02-10
| | | | http://archives.postgresql.org/pgsql-committers/2006-02/msg00089.php
* 1 Fix bug with very short word: prefix and suffix might be overlapped,Teodor Sigaev2006-02-09
| | | | | | | 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
* Check number of affixes to prevent core dump with zero number of affixesTeodor Sigaev2006-02-06
|
* Snowball multibyte. It's a pity, but snowball sources is very diferent for ↵Teodor Sigaev2006-01-27
| | | | | | | | multibyte and singlebyte encodings, so we should have snowball for every encodings. I hope that finalize multibyte support work in tsearch2, but testing is needed...
* Update btree_gist for CIDR/INET changes --- there's really no need toTom Lane2006-01-26
| | | | have a separate set of CIDR code here, either.
* Fix typeing as Tom suggestTeodor Sigaev2006-01-23
|
* Replace bitwise looping with bytewise looping in hemdistsign andTom Lane2006-01-20
| | | | | | | 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.
* Fix the assert_enabled issue properly. This eliminates the former ABITom Lane2006-01-08
| | | | | difference between USE_ASSERT_CHECKING and not: the assert_enabled variable is always there.
* There is a signedness bug in Openwall gen_salt code that pgcrypto uses.Tom Lane2006-01-03
| | | | | | | This makes the salt space for md5 and xdes algorithms a lot smaller than it should be. Marko Kreen
* When the remote query result has a different number of columnsJoe Conway2006-01-03
| | | | | | 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.
* Multibyte encodings support for ISpell dictionaryTeodor Sigaev2005-12-21
|
* Improve support of multibyte encoding:Teodor Sigaev2005-12-12
| | | | | | | | - tsvector_(in|out) - tsquery_(in|out) - to_tsvector - to_tsquery, plainto_tsquery - 'simple' dictionary
* Remove incorrect increment of lineno, per David Fetter.Tom Lane2005-12-10
| | | | Sync HEAD and 8.1 branches of pgbench.
* Allow installation into directories containing spaces in the name.Peter Eisentraut2005-12-09
|
* Simplify lock manager data structures by making a clear separation betweenTom Lane2005-12-09
| | | | | | | | | | | | the data defining the semantics of a lock method (ie, conflict resolution table and ancillary data, which is all constant) and the hash tables storing the current state. The only thing we give up by this is the ability to use separate hashtables for different lock methods, but there is no need for that anyway. Put some extra fields into the LockMethod definition structs to clean up some other uglinesses, like hard-wired tests for DEFAULT_LOCKMETHOD and USER_LOCKMETHOD. This commit doesn't do anything about the performance issues we were discussing, but it clears away some of the underbrush that's in the way of fixing that.
* I recently received the Debian bug report below about missing iconvBruce Momjian2005-12-08
| | | | | | | | | support for the dbf2pg contrib module. The submitter created a patch which replaces the silent ignoring of -F (when iconv support is disabled) with a meaningful warning. Martin Pitt
* Improve tag recognizingTeodor Sigaev2005-12-08
|
* Fix small memory leakTeodor Sigaev2005-12-07
|
* Improve word parser.Teodor Sigaev2005-12-07
| | | | | | - allow ~ in filenames - -8.2.1 now is '-' and '8.2.1' instead of '-8.2' '.' '3' - '.text' now is not a file
* Fix stupid bug with sizeofTeodor Sigaev2005-12-06
|
* Improve word parser.Teodor Sigaev2005-12-05
| | | | | | - improve file and path recognition - fix misspeling - improve tag recognition
* Having blank lines in -f scripts was causing silent failures.Tatsuo Ishii2005-11-23
| | | | per David Fetter
* Fix pgindent of libpq-fe.h by hacking pgindent script.Bruce Momjian2005-11-23
| | | | Remove pgbench comment that was causing problems.
* Re-run pgindent, fixing a problem where comment lines after a blankBruce Momjian2005-11-22
| | | | | | | | | 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.
* Fixes motivated by snake and spoonbill pgbuildfarm membersTeodor Sigaev2005-11-22
|
* remove forgotten // commentsTeodor Sigaev2005-11-21
|
* Text parser rewritten:Teodor Sigaev2005-11-21
| | | | | | | | | | | - 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'
* Defend against nulls-in-arrays in contrib/intarray. I may have put inTom Lane2005-11-19
| | | | | more tests than strictly necessary, but did not feel like tracing call paths in detail ...
* Add defenses against nulls-in-arrays to contrib/ltree. Possibly it'dTom Lane2005-11-19
| | | | | be useful to actually do something with nulls, rather than reject them, but I'll just close the hole for now.
* Mop-up for nulls-in-arrays patch: fix some places that access arrayTom Lane2005-11-18
| | | | contents directly.
* Make SQL arrays support null elements. This commit fixes the core arrayTom Lane2005-11-17
| | | | | | | | functionality, but I still need to make another pass looking at places that incidentally use arrays (such as ACL manipulation) to make sure they are null-safe. Contrib needs work too. I have not changed the behaviors that are still under discussion about array comparison and what to do with lower bounds.
* Fix comment on -v optionTatsuo Ishii2005-11-16
|
* Remove usage of ArrayType->flags field, use pgsql's macros BITS_PER_BYTE insteadTeodor Sigaev2005-11-14
| | | | | of self-defined macros, add limit of Array to gist__int_ops. BTW, intarray now doesn't support NULLs in arrays.
* Use postgres-wide macros BITS_PER_BYTE instead self-definenig macros, also ↵Teodor Sigaev2005-11-14
| | | | use it for calculating bit length of TPQTGist