- Jun 12, 2013
-
-
Robert Haas authored
Patch by me, reviewed by Tatsuo Ishii.
-
- Jun 11, 2013
-
-
Tatsuo Ishii authored
lo_read()/lo_write() in libpq to avoid confusion.
-
- Mar 11, 2011
-
-
Bruce Momjian authored
for consistency.
-
- Feb 07, 2011
-
-
Heikki Linnakangas authored
Until now, our Serializable mode has in fact been what's called Snapshot Isolation, which allows some anomalies that could not occur in any serialized ordering of the transactions. This patch fixes that using a method called Serializable Snapshot Isolation, based on research papers by Michael J. Cahill (see README-SSI for full references). In Serializable Snapshot Isolation, transactions run like they do in Snapshot Isolation, but a predicate lock manager observes the reads and writes performed and aborts transactions if it detects that an anomaly might occur. This method produces some false positives, ie. it sometimes aborts transactions even though there is no anomaly. To track reads we implement predicate locking, see storage/lmgr/predicate.c. Whenever a tuple is read, a predicate lock is acquired on the tuple. Shared memory is finite, so when a transaction takes many tuple-level locks on a page, the locks are promoted to a single page-level lock, and further to a single relation level lock if necessary. To lock key values with no matching tuple, a sequential scan always takes a relation-level lock, and an index scan acquires a page-level lock that covers the search key, whether or not there are any matching keys at the moment. A predicate lock doesn't conflict with any regular locks or with another predicate locks in the normal sense. They're only used by the predicate lock manager to detect the danger of anomalies. Only serializable transactions participate in predicate locking, so there should be no extra overhead for for other transactions. Predicate locks can't be released at commit, but must be remembered until all the transactions that overlapped with it have completed. That means that we need to remember an unbounded amount of predicate locks, so we apply a lossy but conservative method of tracking locks for committed transactions. If we run short of shared memory, we overflow to a new "pg_serial" SLRU pool. We don't currently allow Serializable transactions in Hot Standby mode. That would be hard, because even read-only transactions can cause anomalies that wouldn't otherwise occur. Serializable isolation mode now means the new fully serializable level. Repeatable Read gives you the old Snapshot Isolation level that we have always had. Kevin Grittner and Dan Ports, reviewed by Jeff Davis, Heikki Linnakangas and Anssi Kääriäinen
-
- Feb 01, 2011
-
-
Bruce Momjian authored
-
- Nov 23, 2010
-
-
Peter Eisentraut authored
-
- Sep 20, 2010
-
-
Magnus Hagander authored
-
- Aug 10, 2010
-
-
Robert Haas authored
Per observation from Tom Lane that the previous patch to these files was not consistent with what is done elsewhere in the docs.
-
- Aug 09, 2010
-
-
Robert Haas authored
Daniele Varrazzo
-
- Apr 03, 2010
-
-
Peter Eisentraut authored
The endterm attribute is mainly useful when the toolchain does not support automatic link target text generation for a particular situation. In the past, this was required by the man page tools for all reference page links, but that is no longer the case, and it now actually gets in the way of proper automatic link text generation. The only remaining use cases are currently xrefs to refsects.
-
- Feb 17, 2010
-
-
Tom Lane authored
(hope I got 'em all). Per discussion, this release will be 9.0 not 8.5.
-
- Dec 17, 2009
-
-
Robert Haas authored
Rewrite the documentation in more idiomatic English, and in the process make it somewhat more succinct. Move the discussion of specific large object privileges out of the "server-side functions" section, where it certainly doesn't belong, and into "implementation features". That might not be exactly right either, but it doesn't seem worth creating a new section for this amount of information. Fix a few spelling and layout problems, too.
-
- Dec 11, 2009
-
-
Itagaki Takahiro authored
A new system catalog pg_largeobject_metadata manages ownership and access privileges of large objects. KaiGai Kohei, reviewed by Jaime Casanova.
-
- Dec 08, 2008
-
-
Alvaro Herrera authored
SGML-escaping.
-
- Mar 22, 2008
-
-
Tatsuo Ishii authored
-
- Mar 19, 2008
-
-
Tatsuo Ishii authored
except that lob's oid can be specified.
-
- Mar 14, 2007
-
-
Tom Lane authored
-
- Mar 03, 2007
-
-
Bruce Momjian authored
Kris Jurka
-
- Feb 01, 2007
-
-
Bruce Momjian authored
Standard English uses "may", "can", and "might" in different ways: may - permission, "You may borrow my rake." can - ability, "I can lift that log." might - possibility, "It might rain today." Unfortunately, in conversational English, their use is often mixed, as in, "You may use this variable to do X", when in fact, "can" is a better choice. Similarly, "It may crash" is better stated, "It might crash".
-
- Jan 31, 2007
-
-
Bruce Momjian authored
Standard English uses "may", "can", and "might" in different ways: may - permission, "You may borrow my rake." can - ability, "I can lift that log." might - possibility, "It might rain today." Unfortunately, in conversational English, their use is often mixed, as in, "You may use this variable to do X", when in fact, "can" is a better choice. Similarly, "It may crash" is better stated, "It might crash". Also update two error messages mentioned in the documenation to match.
-
- Oct 23, 2006
-
-
Peter Eisentraut authored
-
- Sep 16, 2006
-
-
Bruce Momjian authored
-
- Apr 23, 2006
-
-
Bruce Momjian authored
compatibility for release 7.2 and earlier. I have not altered any mentions of release 7.3 or later. The release notes were not modified, so the changes are still documented, just not in the main docs.
-
- Mar 10, 2006
-
-
Bruce Momjian authored
-
- Mar 02, 2006
-
-
Tom Lane authored
was opening with INV_READ flag and then writing. Prior to 8.1 the backend did not reject this, but now it does.
-
- Jun 13, 2005
-
-
Tom Lane authored
a descriptor that uses the current transaction snapshot, rather than SnapshotNow as it did before (and still does if INV_WRITE is set). This means pg_dump will now dump a consistent snapshot of large object contents, as it never could do before. Also, add a lo_create() function that is similar to lo_creat() but allows the desired OID of the large object to be specified. This will simplify pg_restore considerably (but I'll fix that in a separate commit).
-
- Jan 10, 2005
-
-
Tom Lane authored
the old 'page' chapter and the recently added 'filelayout' chapter to make a coherent chapter about PostgreSQL's physical storage layout.
-
- Jan 08, 2005
-
-
Tom Lane authored
-
- Dec 28, 2004
-
-
Tom Lane authored
-
- Nov 29, 2003
-
-
PostgreSQL Daemon authored
$Header: -> $PostgreSQL Changes ...
-
- Nov 12, 2003
-
-
Peter Eisentraut authored
-
- Nov 01, 2003
-
-
Peter Eisentraut authored
-
- Aug 31, 2003
-
-
Peter Eisentraut authored
-
- Jun 21, 2003
-
-
Tom Lane authored
client applications. Some editorial work on libpq.sgml, too.
-
- Mar 13, 2003
-
-
Peter Eisentraut authored
-
- Apr 18, 2002
-
-
Bruce Momjian authored
-
- Jan 20, 2002
-
-
Peter Eisentraut authored
-
- Jan 07, 2002
-
-
Peter Eisentraut authored
-
- Nov 12, 2001
-
-
Peter Eisentraut authored
-
- Oct 09, 2001
-
-
Peter Eisentraut authored
output (from pdfjadetex). Also updated instructions to install documentation processing toolchain.
-