~ubuntu-branches/ubuntu/lucid/postgresql-8.4/lucid-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-09-25 07:38:24 UTC
  • mfrom: (1.3.8) (12.1.6 lucid-security)
  • Revision ID: package-import@ubuntu.com-20120925073824-w62lp3agkr8dwnoc
Tags: 8.4.14-0ubuntu10.04
* New upstream bug fix release: (LP: #1055944)
  - Fix planner's assignment of executor parameters, and fix executor's
    rescan logic for CTE plan nodes.
    These errors could result in wrong answers from queries that scan
    the same WITH subquery multiple times.
  - Improve page-splitting decisions in GiST indexes.
    Multi-column GiST indexes might suffer unexpected bloat due to this
    error.
  - Fix cascading privilege revoke to stop if privileges are still held.
    If we revoke a grant option from some role "X", but "X" still holds
    that option via a grant from someone else, we should not
    recursively revoke the corresponding privilege from role(s) "Y"
    that "X" had granted it to.
  - Fix handling of SIGFPE when PL/Perl is in use.
    Perl resets the process's SIGFPE handler to SIG_IGN, which could
    result in crashes later on. Restore the normal Postgres signal
    handler after initializing PL/Perl.
  - Prevent PL/Perl from crashing if a recursive PL/Perl function is
    redefined while being executed.
  - Work around possible misoptimization in PL/Perl.
    Some Linux distributions contain an incorrect version of
    "pthread.h" that results in incorrect compiled code in PL/Perl,
    leading to crashes if a PL/Perl function calls another one that
    throws an error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
 <refsynopsisdiv>
23
23
<synopsis>
24
 
TRUNCATE [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [, ... ]
 
24
TRUNCATE [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] [, ... ]
25
25
    [ RESTART IDENTITY | CONTINUE IDENTITY ] [ CASCADE | RESTRICT ]
26
26
</synopsis>
27
27
 </refsynopsisdiv>
47
47
    <term><replaceable class="PARAMETER">name</replaceable></term>
48
48
    <listitem>
49
49
     <para>
50
 
      The name (optionally schema-qualified) of a table to be
51
 
      truncated.  If <literal>ONLY</> is specified, only that table is
52
 
      truncated.  If <literal>ONLY</> is not specified, the table and
53
 
      all its descendant tables (if any) are truncated.
 
50
      The name (optionally schema-qualified) of a table to truncate.
 
51
      If <literal>ONLY</> is specified before the table name, only that table
 
52
      is truncated.  If <literal>ONLY</> is not specified, the table and all
 
53
      its descendant tables (if any) are truncated.  Optionally, <literal>*</>
 
54
      can be specified after the table name to explicitly indicate that
 
55
      descendant tables are included.
54
56
     </para>
55
57
    </listitem>
56
58
   </varlistentry>