diff --git a/doc/src/sgml/ref/lock.sgml b/doc/src/sgml/ref/lock.sgml
index cee12d0c45..eb3ad5fc53 100644
--- a/doc/src/sgml/ref/lock.sgml
+++ b/doc/src/sgml/ref/lock.sgml
@@ -18,7 +18,8 @@
1998-09-24
- LOCK [ TABLE ] [IN [ROW|ACCESS] [SHARE|EXCLUSIVE] MODE] table
+ LOCK [ TABLE ] [IN [ROW|ACCESS] [SHARE|EXCLUSIVE] | [SHARE ROW EXCLUSIVE] MODE]
+ table
diff --git a/src/bin/psql/psqlHelp.h b/src/bin/psql/psqlHelp.h
index 8f67df922b..c14825061c 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 e70c622ec8..6da514ad2a 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,