diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-06-04 04:28:54 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-06-04 04:28:54 +0000 |
commit | f0f416a2d37e6819d789c2b72863026ec0c9d34f (patch) | |
tree | 63cc857ca699647e5f77dcc04ab3d4eb16bc1d0d | |
parent | 8760d33abbfe18cda5ed7d718fd55a596a165611 (diff) | |
download | postgresql-f0f416a2d37e6819d789c2b72863026ec0c9d34f.tar.gz postgresql-f0f416a2d37e6819d789c2b72863026ec0c9d34f.zip |
Add mention of SHARE ROW EXCLUSIVE mode.
-rw-r--r-- | doc/src/sgml/ref/lock.sgml | 3 | ||||
-rw-r--r-- | src/bin/psql/psqlHelp.h | 4 | ||||
-rw-r--r-- | src/man/lock.l | 6 |
3 files changed, 8 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/lock.sgml b/doc/src/sgml/ref/lock.sgml index cee12d0c45a..eb3ad5fc53e 100644 --- a/doc/src/sgml/ref/lock.sgml +++ b/doc/src/sgml/ref/lock.sgml @@ -18,7 +18,8 @@ <DATE>1998-09-24</DATE> </REFSYNOPSISDIVINFO> <SYNOPSIS> - LOCK [ TABLE ] [IN [ROW|ACCESS] [SHARE|EXCLUSIVE] MODE] <REPLACEABLE CLASS="PARAMETER">table</REPLACEABLE> + LOCK [ TABLE ] [IN [ROW|ACCESS] [SHARE|EXCLUSIVE] | [SHARE ROW EXCLUSIVE] MODE] + <REPLACEABLE CLASS="PARAMETER">table</REPLACEABLE> </SYNOPSIS> <REFSECT2 ID="R2-SQL-LOCK-1"> diff --git a/src/bin/psql/psqlHelp.h b/src/bin/psql/psqlHelp.h index 8f67df922bc..c14825061c7 100644 --- a/src/bin/psql/psqlHelp.h +++ b/src/bin/psql/psqlHelp.h @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: psqlHelp.h,v 1.69 1999/06/03 20:42:17 momjian Exp $ + * $Id: psqlHelp.h,v 1.70 1999/06/04 04:28:53 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -284,7 +284,7 @@ static struct _helpStruct QL_HELP[] = { "exclusive lock a table inside a transaction", "\ \tLOCK [TABLE] class_name \n\ -\t[[IN] [ROW|ACCESS] [SHARE|EXCLUSIVE] MODE];"}, +\t[IN [ROW|ACCESS] [SHARE|EXCLUSIVE] | [SHARE ROW EXCLUSIVE] MODE];"}, {"move", "move an cursor position", "\ diff --git a/src/man/lock.l b/src/man/lock.l index e70c622ec84..6da514ad2a6 100644 --- a/src/man/lock.l +++ b/src/man/lock.l @@ -1,12 +1,14 @@ .\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... -.\" $Header: /cvsroot/pgsql/src/man/Attic/lock.l,v 1.7 1999/06/04 04:16:11 momjian Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/lock.l,v 1.8 1999/06/04 04:28:54 momjian Exp $ .TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL .SH NAME lock - exclusive lock a table .SH SYNOPSIS .nf -\fBlock\fR [\fBtable\fR] classname [IN [ROW|ACCESS] [SHARE|EXCLUSIVE] MODE] +\fBlock\fR [\fBtable\fR] classname +[\fBin\fR [\fBrow\fR|\fBaccess\fR] [\fBshare\fR|\fBexclusive\fR] | +[\fBshare row exclusive\fR] \fBmode\fR] .fi .SH DESCRIPTION By default, |