summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Make contrib/isn pass the opr_sanity sanity checks: add missingTom Lane2006-11-241-73/+878
| | | | | | | | commutator operators, and mark hash-opclass members as oprcanhash. This is a pretty ugly, brute-force solution, but it seems that getting rid of all these redundant-looking operators would require some tweaks in the core operator-resolution code to behave nicely, and I'm not willing to risk that just before RC1.
* Fix lowercasing while parse OO dictionaryTeodor Sigaev2006-11-231-3/+3
|
* Avoid infinity calculations in rank_cdTeodor Sigaev2006-11-221-1/+11
|
* Fix type in return valueTeodor Sigaev2006-11-211-1/+1
|
* Fix bug http://archives.postgresql.org/pgsql-bugs/2006-10/msg00258.php.Teodor Sigaev2006-11-206-62/+131
| | | | | | | Fix string's length calculation for recoding, fix strlower() to avoid wrong assumption about length of recoded string (was: recoded string is no greater that source, it may not true for multibyte encodings) Thanks to Thomas H. <me@alternize.com> and Magnus Hagander <mha@sollentuna.net>
* Minor code cleanup for pgcrypto: for UDFs declared to be strict, checkingNeil Conway2006-11-102-65/+4
| | | | for NULL-ness of function arguments is wasted code.
* Fix two typos.Neil Conway2006-11-081-2/+2
|
* New README, forgotten when docs was updatedTeodor Sigaev2006-11-081-166/+167
|
* Get rid of some unnecessary dependencies on DataDir: wherever possible,Tom Lane2006-11-061-58/+56
| | | | | the backend should rely on its working-directory setting instead. Also do some message-style police work in contrib/adminpack.
* Add description of new featuresTeodor Sigaev2006-10-313-90/+503
|
* Code cleanup for pg_buffercache, from Mark Kirkwood.Tom Lane2006-10-221-66/+34
|
* pgbench: More fix with handling default scaling factor in the defaultTatsuo Ishii2006-10-213-3/+31
| | | | | | scenarios. With multiple clinets, only the first client got the right scaling factor and this gave a illusion of better performance in case of the scaling factor greater than 1.
* Marginal code cleanups in pg_logdir_ls: use ReadDir not readdir,Tom Lane2006-10-201-20/+18
| | | | and avoid scribbling on its result (might be safe but why risk it)
* Add externs for optarg/optind where apparently needed. Per Magnus.Tom Lane2006-10-191-1/+3
|
* Handle missing M_PI the same way we've been doing in the core code,Tom Lane2006-10-191-4/+5
| | | | instead of inserting an MSVC dependency.
* Further MSVC portability fixes from Magnus.Tom Lane2006-10-191-1/+4
|
* Fix a couple of places that were assuming debug_query_string couldn'tTom Lane2006-10-191-2/+5
| | | | be NULL ... seems an unsafe assumption.
* Clean up local redeclarations of variables with DLLIMPORT, per reportTom Lane2006-10-193-19/+4
| | | | from Magnus that MSVC complains about this.
* Fix typo.Neil Conway2006-10-191-2/+2
|
* Simplify contrib Makefiles by removing unnecessary SRCS macro,Tom Lane2006-10-193-11/+6
| | | | per Magnus.
* Rename function 'isexists' and 'isdefined' toTeodor Sigaev2006-10-115-31/+43
| | | | | | | | 'exist' and 'defined' accordingly. Old names are saved not mentioned in docs - for compatibility with old applications. Per discussion http://archives.postgresql.org/pgsql-hackers/2006-10/msg00571.php
* On platforms that have getrlimit(RLIMIT_STACK), use it to ensure thatTom Lane2006-10-071-9/+10
| | | | | | | | max_stack_depth is not set to an unsafe value. This commit also provides configure-time checking for <sys/resource.h>, and cleans up some perhaps-unportable code associated with use of that include file and getrlimit().
* Make use of qsort_arg in several places that were formerly using klugyTom Lane2006-10-053-28/+25
| | | | | | static variables. This avoids any risk of potential non-reentrancy, and in particular offers a much cleaner workaround for the Intel compiler bug that was affecting ginutil.c.
* Improve error messages from to_tsquery per yesterday's discussion:Tom Lane2006-10-041-8/+18
| | | | | provide the bad input, and be sure to mention that we are talking about a tsearch query.
* pgindent run for 8.2.Bruce Momjian2006-10-0473-5724/+7208
|
* Update tsearch2 README.Bruce Momjian2006-10-021-3/+2
| | | | Robert Treat
* Remove accented characters in comments, to avoid failures when thisTom Lane2006-10-011-2/+2
| | | | | file is read with an incompatible client_encoding setting. Per report from Tim N. van der Leeuw.
* Suppress compiler warnings.Tom Lane2006-09-301-2/+4
|
* uninstall script for sslinfoTom Lane2006-09-302-0/+10
|
* uninstall script for pg_freespacemapTom Lane2006-09-302-1/+9
|
* uninstall script for pgrowlocks - Josh DrakeTom Lane2006-09-302-1/+7
|
* Add uninstall script for adminpack - Josh DrakeTom Lane2006-09-302-0/+9
|
* Fix bugs in plpgsql and ecpg caused by assuming that isspace() would onlyTom Lane2006-09-227-33/+36
| | | | | | | | | return true for exactly the characters treated as whitespace by their flex scanners. Per report from Victor Snezhko and subsequent investigation. Also fix a passel of unsafe usages of <ctype.h> functions, that is, ye olde char-vs-unsigned-char issue. I won't miss <ctype.h> when we are finally able to stop using it.
* Fix free space map to correctly track the total amount of FSM space neededTom Lane2006-09-213-47/+47
| | | | | | | even when a single relation requires more than max_fsm_pages pages. Also, make VACUUM emit a warning in this case, since it likely means that VACUUM FULL or other drastic corrective measure is needed. Per reports from Jeff Frost and others of unexpected changes in the claimed max_fsm_pages need.
* Change patternsel (LIKE/regex selectivity estimation) so that if thereTom Lane2006-09-201-4/+36
| | | | | | | | | is a large enough histogram, it will use the number of matches in the histogram to derive a selectivity estimate, rather than the admittedly pretty bogus heuristics involving examining the pattern contents. I set 'large enough' at 100, but perhaps we should change that later. Also apply the same technique in contrib/ltree's <@ and @> estimator. Per discussion with Stefan Kaltenbrunner and Matteo Beccati.
* Rename xml_valid() to xml_is_well_formed(), but provide a temporaryTom Lane2006-09-164-8/+22
| | | | | | alias with the old name for backwards compatibility. Per discussion, the old name is actively wrong because validity and well-formedness have different meanings in XML.
* Fix some more uses of str[n]casecmp that should be pg_str[n]casecmp.Tom Lane2006-09-161-6/+6
|
* Fix some uses of str[n]casecmp that should be pg_str[n]casecmp.Tom Lane2006-09-151-1/+1
|
* Remove sslinfo copyright with author permission, keep author attribution.Bruce Momjian2006-09-142-4/+2
| | | | Victor Wagner
* Change "tps" to "scale" to avoid confusionTatsuo Ishii2006-09-133-36/+56
| | | | | Fix bug with handling default scaling factor in the default scenarios
* Add uninstall scriptTeodor Sigaev2006-09-122-0/+40
|
* Spell readme file's name correctly, per buildfarm reports.Tom Lane2006-09-121-1/+1
|
* Small fix for the README install for contrib/sslinfo.Peter Eisentraut2006-09-121-1/+1
| | | | Dave Page
* Move xml2's PG_MODULE_MAGIC block to the right source file, per Michael Fuhr.Tom Lane2006-09-112-2/+3
|
* Rename the uninstall scripts for contrib/lo and contrib/tsearch2 toTom Lane2006-09-113-5/+5
| | | | | | | match the convention that foo's uninstall script is uninstall_foo.sql. Also, stop installing lo_test.sql, which really ought to be made into a regression test anyway (though it's unclear how to avoid a dependency on the current OID counter...)
* Fix omissions in contrib uninstall scripts. Michael FuhrTom Lane2006-09-112-0/+16
|
* Install a cleaner solution to the AIX libpq linking problem, as perTom Lane2006-09-101-4/+1
| | | | | | | an earlier discussion. Centralize assumptions about what libpq depends on in one place in Makefile.global. I am unconvinced that this list is complete, but since ecpg seems to have gotten along with just these entries, we'll try it this way and see what happens.
* Fix dblink build for --enable-nls or --enable-openssl on AIX.Tom Lane2006-09-101-1/+4
| | | | Per Chris Browne.
* contrib/isn updates from Jeremy Kronuz.Tom Lane2006-09-104-73/+224
|
* Rename contrib contains/contained-by operators to @> and <@, per discussion.Tom Lane2006-09-1035-1108/+1287
|