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

« back to all changes in this revision

Viewing changes to doc/src/sgml/man7/LOCK.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: LOCK
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 "LOCK" "7" "2012-08-14" "PostgreSQL 9.1.5" "PostgreSQL 9.1.5 Documentation"
 
10
.TH "LOCK" "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
 
LOCK [ TABLE ] [ ONLY ] \fIname\fR [, \&.\&.\&.] [ IN \fIlockmode\fR MODE ] [ NOWAIT ]
 
36
LOCK [ TABLE ] [ ONLY ] \fIname\fR [ * ] [, \&.\&.\&.] [ IN \fIlockmode\fR MODE ] [ NOWAIT ]
37
37
 
38
38
where \fIlockmode\fR is one of:
39
39
 
110
110
.RS 4
111
111
The name (optionally schema\-qualified) of an existing table to lock\&. If
112
112
ONLY
113
 
is specified, only that table is locked\&. If
 
113
is specified before the table name, only that table is locked\&. If
114
114
ONLY
115
 
is not specified, the table and all its descendant tables (if any) are locked\&.
 
115
is not specified, the table and all its descendant tables (if any) are locked\&. Optionally,
 
116
*
 
117
can be specified after the table name to explicitly indicate that descendant tables are included\&.
116
118
.sp
117
119
The command
118
120
LOCK TABLE a, b;