~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-updates

« back to all changes in this revision

Viewing changes to doc/src/sgml/ref/truncate.sgml

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-05-05 00:58:06 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090505005806-c19tt7oyqb7kuw49
Tags: 8.4~beta1+cvs20090503-1
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
  </para>
107
107
 
108
108
  <para>
109
 
   <command>TRUNCATE</> acquires an access exclusive lock on the
110
 
   tables in operates on, which blocks all other concurrent operations
 
109
   <command>TRUNCATE</> acquires an <literal>ACCESS EXCLUSIVE</> lock on each
 
110
   table it operates on, which blocks all other concurrent operations
111
111
   on the table.  If concurrent access to a table is required, then
112
112
   the <command>DELETE</> command should be used instead.
113
113
  </para>