aboutsummaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAge
* Prevent rank change in case of duplicate search termsTeodor Sigaev2005-03-05
|
* Make sure contrib C functions are marked strict where needed.Tom Lane2005-01-29
| | | | Kris Jurka
* Now that I look at it, int_array_enum() didn't work either.Tom Lane2005-01-27
|
* Fix security and 64-bit issues in contrib/intagg. This code couldTom Lane2005-01-27
| | | | | stand to be rewritten altogether, but for now just stick a finger in the dike.
* Mark the text_soundex() function as "strict", to avoid crashing on NULLNeil Conway2005-01-26
| | | | input. Also, may as well mark it "cacheable" as well. From Kris Jurka.
* Back-patch make_oidjoins_check security improvement.Tom Lane2004-10-21
|
* Repair possible failure to update hint bits back to disk, perTom Lane2004-10-13
| | | | | | http://archives.postgresql.org/pgsql-hackers/2004-10/msg00464.php. I plan a more permanent fix in HEAD, but for the back branches it seems best to just touch the places that actually have a problem.
* Hashed crosstab was dying with an SPI_finish error when the source SQLJoe Conway2004-08-11
| | | | | produced no rows. Now it returns 0 rows instead. Adjusted regression test for this case.
* Fix stupid bug in installcheckTeodor Sigaev2004-06-23
|
* Now needs to include <ctype.h>.Tom Lane2004-06-12
|
* Remove asymetrical word processing in query and textTeodor Sigaev2004-06-07
|
* Fix problems in pg_autovacuum:Bruce Momjian2004-05-26
| | | | | | | | 1) temp table crash 2) Check send_query() function call return value. Backpatch to 7.4.X.
* Minimize memory allocation for void (but not null) value.Teodor Sigaev2004-03-25
|
* In working through a pg_autovacuum problem with Joe Conway (which turnedBruce Momjian2004-03-22
| | | | | | | | | | | | | | out to be the same problem reported by Cott Lang which the previous patch resolved) a new bug was uncovered when running with a debug level of greater than 1. This patch resolves this new found bug and fixes some of the other debugging output to be more consistent. Please apply to both HEAD and the 7.4 branch. Matthew T. O'Connor
* Fix pg_autovacuum to handle unsigned and oids better.Bruce Momjian2004-03-17
| | | | Matthew T. O'Connor
* When returning type "record", replace use of pgresultGetTupleDescJoe Conway2004-02-24
| | | | | | | | with ReturnSetInfo->expectedDesc. This allows custom datatypes (e.g. from tsearch2) to be returned at runtime. Previous behavior depended on the type oid to match between the remote and local database, which obviously doesn't work well for custom types. Per report from Mark Gibson.
* Apply quote_literal to the start_with argument of connectby. Fixes problemJoe Conway2004-02-24
| | | | reported by David Garamond when working with bytea parent and child keys.
* Replace opendir/closedir calls throughout the backend with AllocateDirTom Lane2004-02-23
| | | | | | | | | | and FreeDir routines modeled on the existing AllocateFile/FreeFile. Like the latter, these routines will avoid failing on EMFILE/ENFILE conditions whenever possible, and will prevent leakage of directory descriptors if an elog() occurs while one is open. Also, reduce PANIC to ERROR in MoveOfflineLogs() --- this is not critical code and there is no reason to force a DB restart on failure. All per recent trouble report from Olivier Hubaut.
* The following bug has been logged online:Bruce Momjian2004-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug reference: 1081 Logged by: Aarjav Trivedi Email address: aarjav@cc.gatech.edu PostgreSQL version: 7.4 Operating system: Linux Description: Spelling error in tsearch2.sql leading to problems with tsearch Details: On line 620 of tsearch2.sql which is required to install and run TSEARCH, REATE FUNCTION tsstat_in(cstring) should be CREATE FUNCTION tsstat_in(cstring) because of this error, TSEARCH fails to work as specified,
* Docs fix from Kris Jurka <books@ejurka.com>Teodor Sigaev2004-01-26
|
* Correct type for isalnumTeodor Sigaev2004-01-19
|
* Remove broken (and unnecessary) definition of operator <> for _int4Tom Lane2004-01-08
| | | | | datatype; the generic array comparators added in 7.4 supersede this. Per report and patch from Korea PostgreSQL Users' Group.
* Repair badly broken estimation of output buffer size in lquery_out().Tom Lane2003-12-17
|
* Minor autovacuum fixes from Matthew O'Connor.Tom Lane2003-12-08
|
* Add fflush() before sleeping, per Matthew O'Connor.Tom Lane2003-12-08
|
* Replace unportable and overflow-prone use of 'long long' with saferTom Lane2003-12-07
| | | | 'double' arithmetic, per recent discussion.
* One more fix confusionTeodor Sigaev2003-12-05
|
* Avoid confusion start_parse_str function with tsearch V1Teodor Sigaev2003-12-05
|
* Fix for word with several infinitivesTeodor Sigaev2003-12-03
|
* I've run across a pretty serious problem with pg_autovacuum.Bruce Momjian2003-12-01
| | | | | | | | | | | | | | pg_autovacuum looses track of any table that's ever been truncated (possibly other situations too). When i truncate a table it gets a new relfilenode in pg_class. This is a problem because pg_autovacuum assumes pg_class.relfilenode will join to pg_stats_all_tables.relid. pg_stats_all_tables.relid is actallly the oid from pg_class, not the relfilenode. These two values start out equal so pg_autovacuum works initially, but it fails later on because of this incorrect assumption. This patch fixes that problem. Applied to HEAD and 7.4.X. Brian Hirt
* I noticed in the 7.4 release that in contrib/pg_autovacuum, args->logfile isBruce Momjian2003-12-01
| | | | | | | | | | | | | | not initialized if a log file is not specified on the command line. This causes an immediate segfault on systems that fill allocated memory with some value other than zero (my FreeBSD machine uses 0xD0). Several crashes later I discovered that args->user, password, host, and port are also used without being initialized. This doesn't appear to be fixed in CVS and I came up empty on a mailing list search -- hope it hasn't been reported already. Craig Boston
* Fix regression in dblink_disconnect() reported by Eduardo Stern:Joe Conway2003-11-28
| | | | | | persistent_conn was left dangling after a disconnect in the unnamed connection case, causing a subsequent disconnect to crash the backend.
* Fixes about word with several infiniteveTeodor Sigaev2003-11-27
|
* Added missing SPI_finish() calls to get_tuple_of_interest(). Fixes bugJoe Conway2003-11-26
| | | | reported by Andrea Grassi.
* Patches from Yutaka Tanida. Create primary key indexes after dataTatsuo Ishii2003-11-26
| | | | insertion to reduce initialization time.
* Ignore too long lexemeTeodor Sigaev2003-11-25
|
* Typo fix in comment from David WheelerBruce Momjian2003-11-12
|
* Fix typo on autovacuum readme.Bruce Momjian2003-11-09
|
* Here is an update to the dbmirror README file.Bruce Momjian2003-10-27
| | | | | | | | | -References to older versions of PostgreSQL have been removed(It no longer compiles against older versions) -Added a link to PgPerl at GBorg. Steven Singer
* Update README file to show 7.4 oidjoins relationships. The regressionTom Lane2003-10-19
| | | | test was updated previously, but documentation is lagging.
* I have run pg_autovacuum on AIX, so that can, at least loosely, beBruce Momjian2003-10-16
| | | | | | | | | considered "tested." And I have turned all of the 7.4 HISTORY material into DocBook for release.sgml Christopher Browne
* Fix core dump on root starting pg_autovacuum.Bruce Momjian2003-10-10
| | | | | | Change conditionals to be more constent with our code if (const == var) => if (var == const).
* Someone report me small bug in contrib/pg_dumplo today. It's problemBruce Momjian2003-10-09
| | | | | | | | with a little dirty snprintf() usage which I used some years ago: snprintf(path, BUFSIZ, "%s/lo_dump.index", path); Karel Zak
* Change some awkward wording in the pg_autovacuum README file. I reallyBruce Momjian2003-10-08
| | | | | | only read this because of Niel :-) Robert Treat
* Attached is a patch for contrib/tablefunc. It fixes two issues raised byTom Lane2003-10-02
| | | | | | | Lars Boegild Thomsen (full email below) and also corrects the regression expected output for a recent backend message adjustment. Please apply. Joe Conway
* I've not changed any malloc/calloc to palloc. It looks to me that these memoryBruce Momjian2003-09-29
| | | | | | | | | | | | | | areas are for the lifetime of the backend and in the interests of not breaking something that's not broken I left alone. Note for anyone reading this and wanting it for tsearch-v2-stable (i.e. for 7.3 backend) this patch probably will not apply cleanly to that source. It should be simple enough to see what's going on and apply the changes by hand if need be. -- Nigel J. Andrews
* A) Fixes a bug that prevented mirroring of data on a table that has hadBruce Momjian2003-09-29
| | | | | | | | a column dropped. B) Updated the documentation for the 7.4 release. Steven Singer
* Make dbf2pg safe for non-ASCII character sets.Bruce Momjian2003-09-27
| | | | M?rcio Dick Smiderle
* Fixed calculation of bid when generating accounts. Used to createJan Wieck2003-09-27
| | | | | | accounts.bid values of zero. Jan
* Add positive defense against dropped columns, per suggestion fromTom Lane2003-09-24
| | | | Christopher Kings-Lynne. Also fix a couple more schema-awareness issues.