mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
bd272cace6
additional argument specifying the kind of lock to acquire/release (or 'NoLock' to do no lock processing). Ensure that all relations are locked with some appropriate lock level before being examined --- this ensures that relevant shared-inval messages have been processed and should prevent problems caused by concurrent VACUUM. Fix several bugs having to do with mismatched increment/decrement of relation ref count and mismatched heap_open/close (which amounts to the same thing). A bogus ref count on a relation doesn't matter much *unless* a SI Inval message happens to arrive at the wrong time, which is probably why we got away with this sloppiness for so long. Repair missing grab of AccessExclusiveLock in DROP TABLE, ALTER/RENAME TABLE, etc, as noted by Hiroshi. Recommend 'make clean all' after pulling this update; I modified the Relation struct layout slightly. Will post further discussion to pghackers list shortly. |
||
---|---|---|
.. | ||
apache_logging | ||
array | ||
datetime | ||
earthdistance | ||
findoidjoins | ||
fulltextindex | ||
int8 | ||
isbn_issn | ||
linux | ||
lo | ||
miscutil | ||
mSQL-interface | ||
noupdate | ||
os2client | ||
pginterface | ||
soundex | ||
spi | ||
string | ||
tools | ||
unixdate | ||
userlock | ||
vacuumlo | ||
Makefile | ||
README |
This directory contains the contribution functions or tools. --------------------------------------------------------------------------- apache_logging - Getting Apache to log to PostgreSQL by Terry Mackintosh <terry@terrym.com> array - Array iterator functions by Massimo Dal Zotto <dz@cs.unitn.it> datetime - Date & time functions by Massimo Dal Zotto <dz@cs.unitn.it> earthdistance - Operator for computing earth distance for two points by Hal Snyder <hal@vailsys.com> findoidjoins - Finds the joins used by oid columns by examining the actual values in the oid columns and row oids. by Bruce Momjian <root@candle.pha.pa.us> fulltextindex - Full text indexing using triggers by Maarten Boekhold <maartenb@dutepp0.et.tudelft.nl> int8 - 64-bit integer arithmetic for Postgres by Thomas G. Lockhart <Thomas.Lockhart@jpl.nasa.gov> isbn_issn - PostgreSQL type extensions for ISBN (books) and ISSN (serials) by Garrett A. Wollman <wollman@khavrinen.lcs.mit.edu> linux - Start postgres back end system by Thomas Lockhart <lockhart@alumni.caltech.edu> lo - Large Object maintenance by Peter Mount <peter@retep.org.uk> miscutil - Postgres assert checking and various utility functions by Dal Zotto <dz@cs.unitn.it> mSQL-interface - mSQL API translation library by Aldrin Leal <aldrin@americasnet.com> noupdate - trigger to prevent updates on single columns plpgsql - Postgres procedural language by Jan Wieck <jwieck@debis.com> pginterface - A crude C/4GL by Bruce Momjian <root@candle.pha.pa.us> soundex - Prototype for soundex function spi - A general trigger function autoinc() and so on. string - C-like input/output conversion routines for strings by Massimo Dal Zotto <dz@cs.unitn.it> tools - Assorted developer tools by Massimo Dal Zotto <dz@cs.unitn.it> unixdate - Conversions from integer to datetime by Thomas Lockhart <lockhart@alumni.caltech.edu> userlock - User locks by Massimo Dal Zotto <dz@cs.unitn.it> vacuumlo - Remove orphaned large objects by Peter T Mount <peter@retep.org.uk>