aboutsummaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAge
* This makes dblink pass its installcheck test on platforms whereTom Lane2004-10-28
| | | | | | | | | 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-25
|
* Fix a bunch of 'old-style parameter declaration' warnings induced byTom Lane2004-10-25
| | | | writing 'foo()' rather than 'foo(void)'.
* Modify hash_create() to elog(ERROR) if an error occurs, rather thanNeil Conway2004-10-25
| | | | | | | | 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-24
|
* Add comparison file for exp-three-digits formatting.Tom Lane2004-10-24
|
* Replace ad-hoc atof() code with call to float4in, per Andrew Dunstan.Tom Lane2004-10-24
|
* Avoid macro-redefinition warnings on Windows, per Andrew Dunstan.Tom Lane2004-10-21
|
* Standardize on using the Min, Max, and Abs macros that are in our c.h file,Tom Lane2004-10-21
| | | | | | 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-20
| | | | while running this script.
* Make the standard stopword files be sought relative to share_dir, soTom Lane2004-10-17
| | | | that a tsearch2 installation can be relocatable.
* Include dllist.c directly instead of assuming that libpq will provide it.Tom Lane2004-10-16
| | | | Whack some semblance of project-conventions-conformance into pg_autovacuum.h.
* Repair possible failure to update hint bits back to disk, perTom Lane2004-10-15
| | | | | | | | | | 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-13
| | | | and contrib/xml2
* Update reference to pgsql-server.Tom Lane2004-10-12
|
* Adjust comments previously moved to column 1 by pgident.Bruce Momjian2004-10-07
|
* Pickup fix from upstream OpenBSD sources: mark a read-only local array asNeil Conway2004-10-05
| | | | "static" to reduce size of generated code slightly.
* Refer to ll_to_earth() function by its actual name.Tom Lane2004-10-04
|
* Adjust postmaster to recognize that a lockfile containing its parent's PIDTom Lane2004-10-01
| | | | | | | | 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-01
|
* Add variant regression file to handle machines that convert -1e-700Tom Lane2004-09-30
| | | | | 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-28
| | | | style and message style standards, improve documentation.
* Remove duplicate PQclear(res) operations leading to double free() andTom Lane2004-09-28
| | | | | | 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-17
| | | | Alvaro Herrera
* Remove contrib/pg_logger, per recent discussion.Tom Lane2004-09-16
|
* Fix contrib/cube and contrib/seg to compile on Windows.Tom Lane2004-09-14
| | | | Andreas Pflug
* Fix some minor issues with the new Win32 service code for autovacuum,Tom Lane2004-09-14
| | | | and add documentation. Dave Page
* Adjust tsearch2.sql to avoid use of COPY FROM STDIN, so as toTom Lane2004-09-14
| | | | simplify life for the Win32 installer. Per Dave Page.
* Win32 compile fix for misc_utils.Tom Lane2004-09-14
| | | | Claudio Natoli
* Win32 compile fixes for pgbench, pgcrypto, and tsearch.Tom Lane2004-09-14
| | | | Claudio Natoli
* Fix contrib/dbase to compile under Win32. Laurent BallesterTom Lane2004-09-14
|
* Redesign query-snapshot timing so that volatile functions in READ COMMITTEDTom Lane2004-09-13
| | | | | | | | | | | | | 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-10
|
* Apply patch from Steven Singer for contrib/dbmirror. Changes:Neil Conway2004-09-10
| | | | | | | -It fixes up some bugs with handling setval calls -Adds upgrade instructions from prior versions -Improved the sample config file -Fixed some things in the clean_pending script
* Improve README with mention of new functions.Bruce Momjian2004-09-08
|
* Fix ancient declaration inconsistency in cube & seg ... came across aTom Lane2004-09-02
| | | | compiler that warns about it.
* Remove line specifying Andreas as author.Bruce Momjian2004-09-02
|
* The current implementation of dbsize doesn't handle tables inBruce Momjian2004-09-02
| | | | | | | | | | | | | | | | | | | | | | tablespaces correctly, and is quite restricted on objects covered (only tables and databases, but not tablespaces and indexes). The attached patch contributes: - database_size(name) - relation_size(text) These are the well-known functions, tablespace-aware. - pg_tablespace_size(oid) - pg_database_size(oid) - pg_relation_size(oid) Tablespace-aware implementations, used by the upper functions. pg_relation_size will report sizes of indexes as well. - pg_size_pretty(bigint) Formatting of sizes, to display '146MB' instead of '152885668' Andreas Pflug
* Add Win32 service capability to pg_autovacuum.Bruce Momjian2004-08-30
| | | | Dave Page
* Another pgindent run with lib typedefs added.Bruce Momjian2004-08-30
|
* Replace bcopy by memmove for more portability.Tom Lane2004-08-29
|
* Pgindent run for 8.0.Bruce Momjian2004-08-29
|
* Update copyright to 2004.Bruce Momjian2004-08-29
|
* Remove contrib/rserv, since there are better replication solutionsTom Lane2004-08-28
| | | | available elsewhere (including a descendant project on gborg).
* Introduce local hash table for lock state, as per recent proposal.Tom Lane2004-08-27
| | | | | | | | | PROCLOCK structs in shared memory now have only a bitmask for held locks, rather than counts (making them 40 bytes smaller, which is a good thing). Multiple locks within a transaction are counted in the local hash table instead, and we have provision for tracking which ResourceOwner each count belongs to. Solves recently reported problem with memory leakage within long transactions.
* Recent tightening of allowed array-literal syntax broke one test caseTom Lane2004-08-21
| | | | in contrib/ltree. Fix.
* Whack btree_gist code around until it has some small hope of buildingTom Lane2004-08-21
| | | | on non-gcc compilers.
* > Please find enclose a submission to fix these problems.Bruce Momjian2004-08-20
| | | | | | | | | | | | | | | | | | | | | | > > The patch adds missing the "libpgport.a" file to the installation under > "install-all-headers". It is needed by some contribs. I install the > library in "pkglibdir", but I was wondering whether it should be "libdir"? > I was wondering also whether it would make sense to have a "libpgport.so"? > > It fixes various macros which are used by contrib makefiles, especially > libpq_*dir and LDFLAGS when used under PGXS. It seems to me that they are > needed to > > It adds the ability to test and use PGXS with contribs, with "make > USE_PGXS=1". Without the macro, this is exactly as before, there should be > no difference, esp. wrt the vpath feature that seemed broken by previous > submission. So it should not harm anybody, and it is useful at least to me. > > It fixes some inconsistencies in various contrib makefiles > (useless override, ":=" instead of "="). Fabien COELHO
* I notice that contrib/fuzzystrmatch/dmetaphone.c doesn't compile cleanlyBruce Momjian2004-08-20
| | | | | | | | as it stands - it mixes declarations in code, C++-style. The attached patch shifts declarations to the tops of functions and enables this file to compile cleanly as C. Richard Poole
* dbsize modification to support tablespacesBruce Momjian2004-08-12
| | | | Gavin Sherry