~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/man7/TRUNCATE.7

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-02-05 18:13:52 UTC
  • mfrom: (1.1.10) (10.1.5 oneiric-proposed)
  • Revision ID: package-import@ubuntu.com-20130205181352-3kw4f94ilqklzm7c
Tags: 9.1.8-0ubuntu11.10
* New upstream security/bug fix release: (LP: #1116336)
  - Prevent execution of enum_recv from SQL
    The function was misdeclared, allowing a simple SQL command to crash the
    server.  In principle an attacker might be able to use it to examine the
    contents of server memory.  Our thanks to Sumit Soni (via Secunia SVCRP)
    for reporting this issue. (CVE-2013-0255)
  - See HISTORY/changelog.gz for the other bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\"     Title: TRUNCATE
3
3
.\"    Author: The PostgreSQL Global Development Group
4
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5
 
.\"      Date: 2012-08-14
6
 
.\"    Manual: PostgreSQL 9.1.5 Documentation
7
 
.\"    Source: PostgreSQL 9.1.5
 
5
.\"      Date: 2013-02-04
 
6
.\"    Manual: PostgreSQL 9.1.8 Documentation
 
7
.\"    Source: PostgreSQL 9.1.8
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "TRUNCATE" "7" "2012-08-14" "PostgreSQL 9.1.5" "PostgreSQL 9.1.5 Documentation"
 
10
.TH "TRUNCATE" "7" "2013-02-04" "PostgreSQL 9.1.8" "PostgreSQL 9.1.8 Documentation"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * Define some portability stuff
13
13
.\" -----------------------------------------------------------------
33
33
.SH "SYNOPSIS"
34
34
.sp
35
35
.nf
36
 
TRUNCATE [ TABLE ] [ ONLY ] \fIname\fR [, \&.\&.\&. ]
 
36
TRUNCATE [ TABLE ] [ ONLY ] \fIname\fR [ * ] [, \&.\&.\&. ]
37
37
    [ RESTART IDENTITY | CONTINUE IDENTITY ] [ CASCADE | RESTRICT ]
38
38
.fi
39
39
.SH "DESCRIPTION"
49
49
.PP
50
50
\fIname\fR
51
51
.RS 4
52
 
The name (optionally schema\-qualified) of a table to be truncated\&. If
53
 
ONLY
54
 
is specified, only that table is truncated\&. If
55
 
ONLY
56
 
is not specified, the table and all its descendant tables (if any) are truncated\&.
 
52
The name (optionally schema\-qualified) of a table to truncate\&. If
 
53
ONLY
 
54
is specified before the table name, only that table is truncated\&. If
 
55
ONLY
 
56
is not specified, the table and all its descendant tables (if any) are truncated\&. Optionally,
 
57
*
 
58
can be specified after the table name to explicitly indicate that descendant tables are included\&.
57
59
.RE
58
60
.PP
59
61
RESTART IDENTITY