Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf0f416a

Browse files
committed
Add mention of SHARE ROW EXCLUSIVE mode.
1 parent8760d33 commitf0f416a

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

‎doc/src/sgml/ref/lock.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
<DATE>1998-09-24</DATE>
1919
</REFSYNOPSISDIVINFO>
2020
<SYNOPSIS>
21-
LOCK [ TABLE ] [IN [ROW|ACCESS] [SHARE|EXCLUSIVE] MODE] <REPLACEABLE CLASS="PARAMETER">table</REPLACEABLE>
21+
LOCK [ TABLE ] [IN [ROW|ACCESS] [SHARE|EXCLUSIVE] | [SHARE ROW EXCLUSIVE] MODE]
22+
<REPLACEABLE CLASS="PARAMETER">table</REPLACEABLE>
2223
</SYNOPSIS>
2324

2425
<REFSECT2 ID="R2-SQL-LOCK-1">

‎src/bin/psql/psqlHelp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: psqlHelp.h,v 1.69 1999/06/03 20:42:17 momjian Exp $
8+
* $Id: psqlHelp.h,v 1.70 1999/06/04 04:28:53 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -284,7 +284,7 @@ static struct _helpStruct QL_HELP[] = {
284284
"exclusive lock a table inside a transaction",
285285
"\
286286
\tLOCK [TABLE] class_name \n\
287-
\t[[IN] [ROW|ACCESS] [SHARE|EXCLUSIVE] MODE];"},
287+
\t[IN [ROW|ACCESS] [SHARE|EXCLUSIVE] | [SHARE ROWEXCLUSIVE] MODE];"},
288288
{"move",
289289
"move an cursor position",
290290
"\

‎src/man/lock.l

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/lock.l,v 1.7 1999/06/04 04:16:11 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/lock.l,v 1.8 1999/06/04 04:28:54 momjian Exp $
44
.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
55
.SH NAME
66
lock - exclusive lock a table
77
.SH SYNOPSIS
88
.nf
9-
\fBlock\fR [\fBtable\fR] classname [IN [ROW|ACCESS] [SHARE|EXCLUSIVE] MODE]
9+
\fBlock\fR [\fBtable\fR] classname
10+
[\fBin\fR [\fBrow\fR|\fBaccess\fR] [\fBshare\fR|\fBexclusive\fR] |
11+
[\fBsharerowexclusive\fR]\fBmode\fR]
1012
.fi
1113
.SH DESCRIPTION
1214
By default,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp