aboutsummaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAge
* Use "alternative" instead of "alternate" where it is clearer.Peter Eisentraut2007-11-07
|
* Make configure probe for the location of the <uuid.h> header file.Tom Lane2007-10-23
| | | | | Needed to accommodate different layout on some platforms (Debian for one). Heikki Linnakangas
* Be careful to get share lock on each page before computing its free space.Tom Lane2007-10-22
| | | | ITAGAKI Takahiro
* Increase FD_SETSIZE on Win32 to allow for more than 54 clients.Magnus Hagander2007-10-22
| | | | Per Greg Stark & Dave Page
* Teach pgxs.mk and Install.pm how to install files from a contrib moduleTom Lane2007-10-16
| | | | | into SHAREDIR/tsearch_data. Use this instead of ad-hoc coding in dict_xsyn/Makefile. Should fix current ContribCheck failures on MSVC.
* Add sample text search dictionary templates and parsers, to replace theTom Lane2007-10-15
| | | | | hard-to-maintain textual examples currently in the SGML docs. From Sergey Karpov.
* Remove contrib/txid, in preparation for migrating it into core.Tom Lane2007-10-13
|
* Code review for txid patch: add binary I/O functions, avoid dependenceTom Lane2007-10-11
| | | | | on SerializableSnapshot, minor other cleanup. Marko Kreen, some further editorialization by me.
* Faster test for overflow in str2txid, from Marko.Tom Lane2007-10-08
|
* Get rid of dependency on strtoull() --- Marko Kreen.Tom Lane2007-10-08
| | | | Some additional minor editorializing by Tom.
* Added the Skytools extended transaction ID module to contrib as discussedJan Wieck2007-10-07
| | | | | | | | | | | | | | | on CORE previously. This module offers transaction ID's containing the original XID and the transaction epoch as a bigint value to the user level. It also provides a special txid_snapshot data type that contains an entire transactions visibility snapshot information, which is useful to determine if a particular txid was visible to a transaction or not. The module has been tested by porting Slony-I from using its original xxid data type. Jan
* Add some examples.D'Arcy J.M. Cain2007-10-01
|
* Fix a minor typo.D'Arcy J.M. Cain2007-10-01
|
* Properly mark mergeable/hashable equality operators (found by opr_sanityTom Lane2007-09-30
| | | | | | | | | | | testing). Combine the formerly independent opclasses for the various ISN types into opfamilies. The latter causes some extra bleating from opr_sanity, since the module doesn't provide complete sets of cross-type operators, but it's still a good idea because it will give the planner more information to work with. The missing cross-type operators no longer pose a risk of unexpected planner errors in 8.3, so there's no need to insist on filling them in (and I gather it wouldn't be very sound semantically to add them all).
* Support functions for index opclasses should be immutable.Tom Lane2007-09-30
| | | | Found by running opr_sanity on contrib modules.
* Support functions for index opclasses should be immutable.Tom Lane2007-09-30
| | | | Found by running opr_sanity on contrib modules.
* Support functions for index opclasses should be immutable.Tom Lane2007-09-29
| | | | Found by running opr_sanity on contrib modules.
* Support functions for index opclasses should be immutable.Tom Lane2007-09-29
| | | | Found by running opr_sanity on contrib modules.
* Support functions for index opclasses should be immutable.Tom Lane2007-09-29
| | | | Found by running opr_sanity on contrib modules.
* Remove bogus commutator marking --- the module doesn't actually supplyTom Lane2007-09-29
| | | | | any commutator operator for =(chkpass,text), so this was creating a shell operator that would fail on use. Found by opr_sanity testing.
* Support functions for index opclasses should be immutable.Tom Lane2007-09-29
| | | | Found by running opr_sanity on contrib modules.
* Defend against openssl libraries that fail on keys longer than 128 bits;Tom Lane2007-09-29
| | | | which is the case at least on some Solaris versions. Marko Kreen
* Tweak pgbench.c to remove the hidden assumption that a WIN32 machineTom Lane2007-09-27
| | | | | | | couldn't possibly HAVE_GETOPT. I believe this is the most appropriate form of the patch submitted 2007-08-07 by Hiroshi Saito, though not having a Windows build environment I won't know for sure till I see the buildfarm results.
* Minor improvements in backup and recovery:Tom Lane2007-09-26
| | | | | | | | | | | | | | | | | | | | | - create a separate archive_mode GUC, on which archive_command is dependent - %r option in recovery.conf sends last restartpoint to recovery command - %r used in pg_standby, updated README - minor other code cleanup in pg_standby - doc on Warm Standby now mentions pg_standby and %r - log_restartpoints recovery option emits LOG message at each restartpoint - end of recovery now displays last transaction end time, as requested by Warren Little; also shown at each restartpoint - restart archiver if needed to carry away WAL files at shutdown Simon Riggs
* Improve handling of prune/no-prune decisions by storing a page's oldestTom Lane2007-09-21
| | | | | | unpruned XMAX in its header. At the cost of 4 bytes per page, this keeps us from performing heap_page_prune when there's no chance of pruning anything. Seems to be necessary per Heikki's preliminary performance testing.
* HOT updates. When we update a tuple without changing any of its indexedTom Lane2007-09-20
| | | | | | | | | | | | columns, and the new version can be stored on the same heap page, we no longer generate extra index entries for the new version. Instead, index searches follow the HOT-chain links to ensure they find the correct tuple version. In addition, this patch introduces the ability to "prune" dead tuples on a per-page basis, without having to do a complete VACUUM pass to recover space. VACUUM is still needed to clean up dead index entries, however. Pavan Deolasee, with help from a bunch of other people.
* Remove ill-considered (not to mention undocumented) attempt to makeTom Lane2007-09-14
| | | | | contrib/intarray's GIN opclass override the built-in default. Per bug #3048 and other complaints.
* Redefine the lp_flags field of item pointers as having four states, ratherTom Lane2007-09-12
| | | | | | | | | than two independent bits (one of which was never used in heap pages anyway, or at least hadn't been in a very long time). This gives us flexibility to add the HOT notions of redirected and dead item pointers without requiring anything so klugy as magic values of lp_off and lp_len. The state values are chosen so that for the states currently in use (pre-HOT) there is no change in the physical representation.
* Reduce the permissions check needed to use pgrowlocks() to havingTom Lane2007-08-28
| | | | SELECT on the target table. Per discussion.
* Require SELECT privilege on a table to do dblink_get_pkey(). This isTom Lane2007-08-27
| | | | | | not all that exciting when the system catalogs are readable by all, but some people try to lock them down, and would not like this sort of end run ...
* Restrict pgrowlocks function to superusers. (This might be too strict,Tom Lane2007-08-27
| | | | | but no permissions check at all is certainly no good.) Clean up usage of some deprecated APIs.
* Restrict pgstattuple functions to superusers. (This might be too strict,Tom Lane2007-08-26
| | | | | but no permissions check at all is certainly no good.) Clean up usage of some deprecated APIs.
* Clean up usage of some deprecated APIs, particularly schema-unsafeTom Lane2007-08-26
| | | | usage of RelationNameGetTupleDesc().
* Code review for btreefuncs additions: restrict to superusers to avoidTom Lane2007-08-26
| | | | exposing user data to others, and clean up usage of deprecated APIs.
* The upper limit for -c option of pgbench is now obtained fromTatsuo Ishii2007-08-25
| | | | (FD_SETSIZE - 10) rather than a hardwired number.
* Fix combo_decrypt() to throw an error for zero-length input when using aTom Lane2007-08-23
| | | | | | | | padded encryption scheme. Formerly it would try to access res[(unsigned) -1], which resulted in core dumps on 64-bit machines, and was certainly trouble waiting to happen on 32-bit machines (though in at least the known case it was harmless because that byte would be overwritten after return). Per report from Ken Colson; fix by Marko Kreen.
* Fix possible core dump from pgbench -d option. Julius StroffekTom Lane2007-08-22
|
* contrib/tsearch2 now fails its regression test because of conflicts withTom Lane2007-08-21
| | | | | the core additions. For the moment I diked it out of contrib/Makefile. We should look at turning it into a backward-compatibility package.
* Arrange to put TOAST tables belonging to temporary tables into special schemasTom Lane2007-07-25
| | | | | | | | | | | | | | named pg_toast_temp_nnn, alongside the pg_temp_nnn schemas used for the temp tables themselves. This allows low-level code such as the relcache to recognize that these tables are indeed temporary, which enables various optimizations such as not WAL-logging changes and using local rather than shared buffers for access. Aside from obvious performance benefits, this provides a solution to bug #3483, in which other backends unexpectedly held open file references to temporary tables. The scheme preserves the property that TOAST tables are not in any schema that's normally in the search path, so they don't conflict with user table names. initdb forced because of changes in system view definitions.
* Fix pg_buffercache to release buffer partition locks in reverse order,Tom Lane2007-07-16
| | | | | | and add a note about why. This is not tremendously important right now, probably, but it will get more urgent if NUM_BUFFER_PARTITIONS is increased as much as proposed.
* Quote pathnames so pg_standby works with paths that haveMagnus Hagander2007-07-16
| | | | | | spaces in them. ISHIDA Akio
* Get rid of overly cute, unportable, probably not very efficient substituteTom Lane2007-07-15
| | | | for 'bool'. Per buildfarm warnings.
* Fix CHECK_RELATION_BLOCK_RANGE macro, which was not merely producingTom Lane2007-07-15
| | | | a warning but was outright wrong.
* Fix a passel of signed vs unsigned char warnings.Tom Lane2007-07-15
|
* Silence a rather odd compiler warning. In passing, make this file'sTom Lane2007-07-15
| | | | | error messages look at least a little bit like the message style guidelines say.
* Avoid possibly-unportable initializer, per buildfarm warning.Tom Lane2007-07-15
|
* Change a couple of exit(0) to return 0 to suppress complaints fromTom Lane2007-07-15
| | | | not-too-bright compilers. Per buildfarm results.
* Silence Solaris compiler warnings, per buildfarm.Tom Lane2007-07-15
|
* Silence Solaris compiler warning, per buildfarm.Tom Lane2007-07-15
|
* Fix compile warning on Solaris, per buildfarm. (Why have we gotTom Lane2007-07-15
| | | | three slightly different copies of this file?)