summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Fix a potential free() of string literal in oid2name, per report fromNeil Conway2004-12-021-12/+25
| | | | | Michael Fuhr. Along the way, fix a bunch of accesses to uninitialized memory, add a mystrdup() routine and use it to cleanup some code.
* Make pg_dumplo schema-aware. Karel ZakTom Lane2004-11-284-54/+106
|
* Fix HAVE_OPTRESET to be HAVE_INT_OPTRESET. Typos spotted by Lorne Sunley.Tom Lane2004-11-271-2/+2
|
* This adds mention of my latest tweak to the tsearch2/pg_trgmTom Lane2004-11-271-5/+9
| | | | | | | integration. It is much better to create a word list of unstemmed words than stemmed ones. Chris K-L
* Prevent pgcrypto from successfully compiling if no valid random sourceNeil Conway2004-11-231-7/+7
| | | | | has been defined. Previously, pgcrypto would compile but would be unusable.
* Rename vacuum_cost_limit switch from -N to -l to avoid conflict withTom Lane2004-11-172-6/+6
| | | | existing Windows-only switch.
* Miscellaneous Cygwin build fixes from Reini Urban.Tom Lane2004-11-171-1/+3
|
* Add options to pg_autovacuum to support setting the cost-based-vacuumTom Lane2004-11-173-62/+185
| | | | parameters differently from their default values. Matthew T. O'Connor
* Remove now-redundant description of Postgres file layout, in favor ofTom Lane2004-11-121-24/+3
| | | | | referencing the Database File Layout chapter I just added to the main documentation.
* This patch makes some cleanups to contrib/ to silence some sparseNeil Conway2004-11-096-41/+41
| | | | | | | | | | warnings: - remove pointless "extern" keyword from some function definitions in contrib/tsearch2 - use "NULL" not "0" as NULL pointer in contrib/tsearch, contrib/tsearch2, contrib/pgbench, and contrib/vacuumlo
* Create 'default_tablespace' GUC variable that supplies a TABLESPACETom Lane2004-11-051-8/+8
| | | | | | | | | | clause implicitly whenever one is not given explicitly. Remove concept of a schema having an associated tablespace, and simplify the rules for selecting a default tablespace for a table or index. It's now just (a) explicit TABLESPACE clause; (b) default_tablespace if that's not an empty string; (c) database's default. This will allow pg_dump to use SET commands instead of tablespace clauses to determine object locations (but I didn't actually make it do so). All per recent discussions.
* Fix build break, per report from Kris Jurka. Rename README to README.mysql,Neil Conway2004-11-041-0/+0
| | | | for consistency.
* Contrib build fixes:Neil Conway2004-11-046-5/+26
| | | | | | | | | | | | | | - add some additional files to the dbmirror install (approved by ssinger) - add a makefile for contrib/mysql, and add mysql to the list of contribs build by default - use xml2-config to pickup -I flags for libxml2 in contrib/xml and contrib/xml2 Original work from Martin Pitt of Debian, minor cleanups by Neil Conway.
* Honor TMPDIR.Bruce Momjian2004-11-041-3/+2
| | | | | | Add the script name to the tmp directory name. Move trap up now that the dir is more unique.
* Move trap to after the directory is created.Bruce Momjian2004-11-031-1/+2
|
* Create temporary files securely.Bruce Momjian2004-11-031-5/+16
|
* Trivial fixes for English grammar in contrib/btree_gist and contrib/rtree_gistNeil Conway2004-11-012-11/+11
| | | | documentation.
* This makes dblink pass its installcheck test on platforms whereTom Lane2004-10-281-3/+3
| | | | | | | | | snprintf(data, len, %s, NULL) crash. The code was trying to find a connection by name when it already had an unnamed connection and did not have a name to search with. Kris Jurka
* Fix some more 'old-style parameter declaration' warnings.Tom Lane2004-10-252-13/+30
|
* Fix a bunch of 'old-style parameter declaration' warnings induced byTom Lane2004-10-257-23/+27
| | | | writing 'foo()' rather than 'foo(void)'.
* Modify hash_create() to elog(ERROR) if an error occurs, rather thanNeil Conway2004-10-251-9/+1
| | | | | | | | returning a NULL pointer (some callers remembered to check the return value, but some did not -- it is safer to just bail out). Also, cleanup pgstat.c to use elog(ERROR) rather than elog(LOG) followed by exit().
* Add comparison file for exp-three-digits formatting.Tom Lane2004-10-241-0/+1292
|
* Add comparison file for exp-three-digits formatting.Tom Lane2004-10-241-0/+1068
|
* Replace ad-hoc atof() code with call to float4in, per Andrew Dunstan.Tom Lane2004-10-242-17/+9
|
* Avoid macro-redefinition warnings on Windows, per Andrew Dunstan.Tom Lane2004-10-212-2/+7
|
* Standardize on using the Min, Max, and Abs macros that are in our c.h file,Tom Lane2004-10-2119-63/+27
| | | | | | getting rid of numerous ad-hoc versions that have popped up in various places. Shortens code and avoids conflict with Windows min() and max() macros.
* Use temp files in current directory, not /tmp, to reduce security riskTom Lane2004-10-201-9/+14
| | | | while running this script.
* Make the standard stopword files be sought relative to share_dir, soTom Lane2004-10-173-10/+22
| | | | that a tsearch2 installation can be relocatable.
* Include dllist.c directly instead of assuming that libpq will provide it.Tom Lane2004-10-163-89/+92
| | | | Whack some semblance of project-conventions-conformance into pg_autovacuum.h.
* Repair possible failure to update hint bits back to disk, perTom Lane2004-10-151-2/+9
| | | | | | | | | | http://archives.postgresql.org/pgsql-hackers/2004-10/msg00464.php. This fix is intended to be permanent: it moves the responsibility for calling SetBufferCommitInfoNeedsSave() into the tqual.c routines, eliminating the requirement for callers to test whether t_infomask changed. Also, tighten validity checking on buffer IDs in bufmgr.c --- several routines were paranoid about out-of-range shared buffer numbers but not about out-of-range local ones, which seems a tad pointless.
* Cleanup some unnecessary void * casts when using pfree() in contrib/xmlNeil Conway2004-10-132-10/+10
| | | | and contrib/xml2
* Update reference to pgsql-server.Tom Lane2004-10-121-3/+3
|
* Adjust comments previously moved to column 1 by pgident.Bruce Momjian2004-10-077-12/+12
|
* Pickup fix from upstream OpenBSD sources: mark a read-only local array asNeil Conway2004-10-051-1/+1
| | | | "static" to reduce size of generated code slightly.
* Refer to ll_to_earth() function by its actual name.Tom Lane2004-10-041-2/+3
|
* Adjust postmaster to recognize that a lockfile containing its parent's PIDTom Lane2004-10-013-29/+48
| | | | | | | | must be stale. Tweak example startup scripts to not use pg_ctl but launch the postmaster directly, thereby ensuring that only the postmaster's direct parent shell will be a postgres-owned process. In combination these should fix the longstanding problem of the postmaster sometimes refusing to start during reboot because it thinks the old lockfile is not stale.
* Remove DROPs from contrib object creation scripts, per Dave Page.Tom Lane2004-10-012-3/+1
|
* Add variant regression file to handle machines that convert -1e-700Tom Lane2004-09-301-0/+1292
| | | | | to minus zero rather than zero; this includes at least Mac OS X 10.3 and Solaris 2.8.
* Code review for recent dbsize changes. Fix some thinkos, enforce codingTom Lane2004-09-283-95/+99
| | | | style and message style standards, improve documentation.
* Remove duplicate PQclear(res) operations leading to double free() andTom Lane2004-09-281-9/+5
| | | | | | subsequent core dump. It looks like at one time DBLINK_RES_ERROR_AS_NOTICE didn't include a PQclear, but now it does and so these other ones are duplicate.
* Here is a patch bringing oid2name into the 21st century.Tom Lane2004-09-172-393/+531
| | | | Alvaro Herrera
* Remove contrib/pg_logger, per recent discussion.Tom Lane2004-09-165-129/+1
|
* Fix contrib/cube and contrib/seg to compile on Windows.Tom Lane2004-09-146-63/+59
| | | | Andreas Pflug
* Fix some minor issues with the new Win32 service code for autovacuum,Tom Lane2004-09-142-21/+32
| | | | and add documentation. Dave Page
* Adjust tsearch2.sql to avoid use of COPY FROM STDIN, so as toTom Lane2004-09-142-65/+63
| | | | simplify life for the Win32 installer. Per Dave Page.
* Win32 compile fix for misc_utils.Tom Lane2004-09-141-0/+7
| | | | Claudio Natoli
* Win32 compile fixes for pgbench, pgcrypto, and tsearch.Tom Lane2004-09-145-19/+34
| | | | Claudio Natoli
* Fix contrib/dbase to compile under Win32. Laurent BallesterTom Lane2004-09-142-3/+6
|
* Redesign query-snapshot timing so that volatile functions in READ COMMITTEDTom Lane2004-09-132-5/+5
| | | | | | | | | | | | | mode see a fresh snapshot for each command in the function, rather than using the latest interactive command's snapshot. Also, suppress fresh snapshots as well as CommandCounterIncrement inside STABLE and IMMUTABLE functions, instead using the snapshot taken for the most closely nested regular query. (This behavior is only sane for read-only functions, so the patch also enforces that such functions contain only SELECT commands.) As per my proposal of 6-Sep-2004; I note that I floated essentially the same proposal on 19-Jun-2002, but that discussion tailed off without any action. Since 8.0 seems like the right place to be taking possibly nontrivial backwards compatibility hits, let's get it done now.
* Fix two typos in comments.Neil Conway2004-09-102-2/+2
|