summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Add contrib/pg_freespacemap to display free space map information.Bruce Momjian2006-02-126-1/+371
| | | | Mark Kirkwood
* Clean up some signedness warnings.Tom Lane2006-02-103-10/+12
|
* Fix fallout from psql line-wrapping patch.Tom Lane2006-02-101-26/+26
|
* Allow "'" symbol in affixes ("'s" affix in english): it was diallowed duringTeodor Sigaev2006-02-101-7/+9
| | | | | multibyte support work. Add line number to error output during affix file parsing.
* renew output of regression test accordingly toTeodor Sigaev2006-02-102-730/+730
| | | | 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-092-53/+62
| | | | | | | 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-061-0/+3
|
* Snowball multibyte. It's a pity, but snowball sources is very diferent for ↵Teodor Sigaev2006-01-278-27/+974
| | | | | | | | 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-262-77/+17
| | | | have a separate set of CIDR code here, either.
* Fix typeing as Tom suggestTeodor Sigaev2006-01-231-1/+1
|
* Replace bitwise looping with bytewise looping in hemdistsign andTom Lane2006-01-208-82/+100
| | | | | | | 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-082-8/+0
| | | | | 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-031-9/+9
| | | | | | | 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-034-19/+40
| | | | | | 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-215-147/+232
|
* Improve support of multibyte encoding:Teodor Sigaev2005-12-1219-146/+263
| | | | | | | | - 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-101-4/+6
| | | | Sync HEAD and 8.1 branches of pgbench.
* Allow installation into directories containing spaces in the name.Peter Eisentraut2005-12-091-4/+4
|
* Simplify lock manager data structures by making a clear separation betweenTom Lane2005-12-091-3/+4
| | | | | | | | | | | | 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-081-1/+5
| | | | | | | | | 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-082-2/+22
|
* Fix small memory leakTeodor Sigaev2005-12-071-1/+1
|
* Improve word parser.Teodor Sigaev2005-12-072-1/+51
| | | | | | - 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-061-1/+1
|
* Improve word parser.Teodor Sigaev2005-12-052-22/+65
| | | | | | - improve file and path recognition - fix misspeling - improve tag recognition
* Having blank lines in -f scripts was causing silent failures.Tatsuo Ishii2005-11-231-6/+12
| | | | per David Fetter
* Fix pgindent of libpq-fe.h by hacking pgindent script.Bruce Momjian2005-11-231-3/+2
| | | | Remove pgbench comment that was causing problems.
* Re-run pgindent, fixing a problem where comment lines after a blankBruce Momjian2005-11-2224-1557/+1834
| | | | | | | | | 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-223-13/+18
|
* remove forgotten // commentsTeodor Sigaev2005-11-211-2/+0
|
* Text parser rewritten:Teodor Sigaev2005-11-2115-424/+1613
| | | | | | | | | | | - 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-196-44/+131
| | | | | 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-194-0/+33
| | | | | 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-184-207/+131
| | | | contents directly.
* Make SQL arrays support null elements. This commit fixes the core arrayTom Lane2005-11-173-4/+5
| | | | | | | | 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-161-4/+9
|
* Remove usage of ArrayType->flags field, use pgsql's macros BITS_PER_BYTE insteadTeodor Sigaev2005-11-143-20/+16
| | | | | 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-142-8/+9
| | | | use it for calculating bit length of TPQTGist
* fix returning valueTeodor Sigaev2005-11-141-0/+2
|
* Fix rwrite(ARRAY) on 64-bit boxes:Teodor Sigaev2005-11-093-11/+22
| | | | Instead of getting elements of array manually call deconstruct_array
* New features for tsearch2:Teodor Sigaev2005-11-0814-112/+1874
| | | | | | | | | | | | | | | 1 Comparison operation for tsquery 2 Btree index on tsquery 3 numnode(tsquery) - returns 'length' of tsquery 4 tsquery @ tsquery, tsquery ~ tsquery - contains, contained for tsquery. Note: They don't gurantee exact result, only MAY BE, so it useful only for speed up rewrite functions 5 GiST index support for @,~ 6 rewrite(): select rewrite(orig, what, to); select rewrite(ARRAY[orig, what, to]) from tsquery_table; select rewrite(orig, 'select what, to from tsquery_table;'); 7 significantly improve cover algorithm
* R-tree is dead ... long live GiST.Tom Lane2005-11-079-18/+11
|
* Fix incorrect header size macrosTeodor Sigaev2005-11-031-1/+1
|
* pgcrypto documentation polishing from Marko Kreen, and a small amountTom Lane2005-11-031-25/+29
| | | | of copy-editing from myself.
* Add sanity check of queryTeodor Sigaev2005-10-311-1/+2
|
* Fix some allocation size calculation errors that would cause pgbenchTom Lane2005-10-291-9/+9
| | | | to fail with large test scripts.
* 1 Fix problem with lost precision in rank with OR-ed lexemesTeodor Sigaev2005-10-283-23/+49
| | | | 2 Allow tsquery_in to input void tsquery: resolve dump/restore problem with tsquery
* When a cursor is opened using dblink_open, only start a transactionJoe Conway2005-10-183-39/+193
| | | | | | | | if there isn't one already open. Upon dblink_close, only commit the open transaction if it was started by dblink_open, and only then when all cursors opened by dblink_open are closed. The transaction accounting is done individually for all named connections, plus the persistent unnamed connection.
* Fix several contrib makefiles that failed in VPATH builds, particularlyTom Lane2005-10-185-13/+21
| | | | when not using gcc (which has slightly nonstandard inclusion rules).
* Suppress warnings on platforms where fprintf is a macro (eg, recentTom Lane2005-10-153-0/+3
| | | | | Fedora). This was already done by somebody for the core flex files, but these contrib files seem to have been missed.