Tom Lane
2a4fad1a0e
Add NOWAIT option to SELECT FOR UPDATE/SHARE.
...
Original patch by Hans-Juergen Schoenig, revisions by Karel Zak
and Tom Lane.
2005-08-01 20:31:16 +00:00
Tom Lane
bedb78d386
Implement sharable row-level locks, and use them for foreign key references
...
to eliminate unnecessary deadlocks. This commit adds SELECT ... FOR SHARE
paralleling SELECT ... FOR UPDATE. The implementation uses a new SLRU
data structure (managed much like pg_subtrans) to represent multiple-
transaction-ID sets. When more than one transaction is holding a shared
lock on a particular row, we create a MultiXactId representing that set
of transactions and store its ID in the row's XMAX. This scheme allows
an effectively unlimited number of row locks, just as we did before,
while not costing any extra overhead except when a shared lock actually
has to be shared. Still TODO: use the regular lock manager to control
the grant order when multiple backends are waiting for a row lock.
Alvaro Herrera and Tom Lane.
2005-04-28 21:47:18 +00:00
Neil Conway
ff02d0a052
Make default_with_oids default to false -- user-created tables will now
...
no longer include OIDs, unless WITH OIDS is specified or the
default_with_oids configuration parameter is enabled. Update the docs
accordingly.
2005-03-13 09:36:31 +00:00
Tom Lane
b548cde1f5
Some more small improvements in response to 7.4 interactive docs comments.
2005-01-09 05:57:45 +00:00
Tom Lane
cc093bc3ad
More minor updates and copy-editing.
2005-01-04 03:58:16 +00:00
Neil Conway
5a2c8cf4b1
Fix misstatement in docs: CREATE TABLE AS is now part of the standard.
2004-09-26 23:48:07 +00:00
Neil Conway
cda1bd6cfe
Various minor improvements to the SGML documentation: fix some incorrect
...
SGML markup, add a "deprecated features" section to the 8.0 release
notes, untabify release.sgml and runtime.sgml, and make some other
minor improvements.
2004-08-24 00:06:51 +00:00
Tom Lane
fcbc438727
Label CVS tip as 8.0devel instead of 7.5devel. Adjust various comments
...
and documentation to reference 8.0 instead of 7.5.
2004-08-04 21:34:35 +00:00
Neil Conway
80ec228389
Refer to GUC variables using <xref> tags rather than <varname> tags,
...
where appropriate. Add "id" and "xreflabel" tags to the descriptions
of the GUC variables to facilitate this. Also make a few minor docs
cleanups.
2004-03-09 16:57:47 +00:00
Neil Conway
7fb5a9992c
This patch makes some SGML markup more consistent and makes a small
...
improvement to the SSL auth docs.
2003-12-13 23:59:07 +00:00
Bruce Momjian
7ce9b7c0d8
This patch adds a new GUC var, "default_with_oids", which follows the
...
proposal for eventually deprecating OIDs on user tables that I posted
earlier to pgsql-hackers. pg_dump now always specifies WITH OIDS or
WITHOUT OIDS when dumping a table. The documentation has been updated.
Neil Conway
2003-12-01 22:08:02 +00:00
PostgreSQL Daemon
969685ad44
$Header: -> $PostgreSQL Changes ...
2003-11-29 19:52:15 +00:00
Tom Lane
d4019b7cd3
Remove a bunch of content-free Diagnostics sections, as per previous
...
discussion. (Still have some work to do editing the remainder.)
2003-09-09 18:28:53 +00:00
Peter Eisentraut
c326d8f4f2
Add/edit index entries.
2003-08-31 17:32:24 +00:00
Peter Eisentraut
d1b4327d02
Last round of reference page editing.
2003-05-04 02:23:16 +00:00
Peter Eisentraut
ed24f28538
Fixups for man pages
2002-11-21 23:34:43 +00:00
Tom Lane
64505ed58b
Code review for standalone composite types, query-specified composite
...
types, SRFs. Not happy with memory management yet, but I'll commit these
other changes.
2002-08-29 00:17:06 +00:00
Bruce Momjian
6077db92c2
Allow FOR UPDATE to appear after LIMIT/OFFSET to match MySQL syntax and as
...
a more logical ordering.
2002-08-28 14:35:37 +00:00
Tom Lane
0c1fe3d2b9
Update SQL-command reference pages for schema features.
2002-04-23 02:07:16 +00:00
Thomas G. Lockhart
c05f29e895
Augment the date/time examples in the User's Guide to reflect the newer
...
capabilities of specifying time zones as intervals per SQL9x.
Put refentrytitle contents on the same line as the tag.
Otherwise, leading whitespace is propagated into the product, which
(at least) messes up the ToC layout.
Remove (some) docinfo tags containing dates. Best to omit if the dates
are not accurate; maybe use CVS dates instead or leave them out.
2002-04-21 19:02:39 +00:00
Peter Eisentraut
bf43bed848
Spell-check and markup police
2002-01-20 22:19:57 +00:00
Thomas G. Lockhart
03a321d214
Use PostgreSQL consistantly throughout docs. Before, usage was split evenly
...
between Postgres and PostgreSQL.
2001-12-08 03:24:40 +00:00
Bruce Momjian
3e76c9aaa5
Move ALL out of UNION|INTERSECT|EXCEPT syntax.
...
Alvaro Herrera
2001-10-23 16:42:36 +00:00
Peter Eisentraut
f08c9ff84b
Make the CREATE TABLE ref page more readable and update some information.
2001-10-22 18:14:47 +00:00
Bruce Momjian
328870a890
One more LIMIT doc update.
2001-09-23 13:34:44 +00:00
Peter Eisentraut
89a1ea4207
Put some kind of grammatical uniformity in the <refpurpose> lines.
2001-09-03 12:57:50 +00:00
Tom Lane
40dc76e315
Recommend CREATE TABLE AS in preference to SELECT INTO. Remove the
...
(inadequate anyway) mention of SELECT INTO from the main SELECT ref page.
Point out that SELECT INTO means something else in plpgsql and ecpg.
2001-03-20 20:54:41 +00:00
Peter Eisentraut
027f144e39
Terminology cleanup: class -> table, instance -> row, attribute -> column,
...
etc.
2001-01-13 23:58:55 +00:00
Peter Eisentraut
dccfd74935
Refine some things to create better looking man pages.
2000-12-25 23:15:27 +00:00
Tom Lane
1045304a3b
Revise SELECT reference page for outer joins, subselect in FROM,
...
ISO-compliant UNION/INTERSECT/EXCEPT. Revise discussion of rule
rewriter to reflect new subselect-in-FROM implementation of views.
Miscellaneous other cleanups.
2000-12-12 05:07:59 +00:00
Bruce Momjian
2f011a9c72
More doc cleanups, from book.
2000-07-21 18:51:24 +00:00
Tom Lane
a7f85783fb
Update SELECT documentation to have a more thorough discussion
...
of LIMIT, and fix a few other glitches too.
2000-02-21 01:13:52 +00:00
Thomas G. Lockhart
a27512e634
Complete merge of all old man page information.
...
ecpg reference page still needs formatting.
1999-07-22 15:09:15 +00:00
Thomas G. Lockhart
4d5aa343de
Fix conflicting id tags (sql.sgml also used "select-title").
1999-07-16 14:32:06 +00:00
Thomas G. Lockhart
d72168d6e0
Complete first pass at markup adjustments for docbook2man man pages.
...
Add some internal cross references to select.sgml.
1999-07-14 20:32:59 +00:00
Thomas G. Lockhart
1ac838edba
Minor updates for release.
...
Split reference pages for CREATE TABLE AS and SELECT INTO to allow psgml
(the emacs parser) to handle parsing.
1999-06-14 07:37:05 +00:00