Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
996c52be
Commit
996c52be
authored
Oct 01, 1999
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refer to "name", rather than "table" as the replaceable parameter.
Seems to read better this way...
parent
f74179cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
doc/src/sgml/ref/lock.sgml
doc/src/sgml/ref/lock.sgml
+11
-10
No files found.
doc/src/sgml/ref/lock.sgml
View file @
996c52be
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.1
3 1999/07/22 15:09:12
thomas Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.1
4 1999/10/01 15:26:29
thomas Exp $
Postgres documentation
-->
...
...
@@ -15,7 +15,7 @@ Postgres documentation
LOCK
</refname>
<refpurpose>
Explicit
lock of
a table inside a transaction
Explicit
ly lock
a table inside a transaction
</refpurpose>
</refnamediv>
<refsynopsisdiv>
...
...
@@ -23,9 +23,9 @@ Postgres documentation
<date>1999-07-20</date>
</refsynopsisdivinfo>
<synopsis>
LOCK [ TABLE ] <replaceable class="PARAMETER">
tabl
e</replaceable>
LOCK [ TABLE ] <replaceable class="PARAMETER">
tabl
e</replaceable> IN [ ROW | ACCESS ] { SHARE | EXCLUSIVE } MODE
LOCK [ TABLE ] <replaceable class="PARAMETER">
tabl
e</replaceable> IN SHARE ROW EXCLUSIVE MODE
LOCK [ TABLE ] <replaceable class="PARAMETER">
nam
e</replaceable>
LOCK [ TABLE ] <replaceable class="PARAMETER">
nam
e</replaceable> IN [ ROW | ACCESS ] { SHARE | EXCLUSIVE } MODE
LOCK [ TABLE ] <replaceable class="PARAMETER">
nam
e</replaceable> IN SHARE ROW EXCLUSIVE MODE
</synopsis>
<refsect2 id="R2-SQL-LOCK-1">
...
...
@@ -39,7 +39,7 @@ LOCK [ TABLE ] <replaceable class="PARAMETER">table</replaceable> IN SHARE ROW E
<variablelist>
<varlistentry>
<term><replaceable class="PARAMETER">
tabl
e</replaceable></term>
<term><replaceable class="PARAMETER">
nam
e</replaceable></term>
<listitem>
<para>
The name of an existing table to lock.
...
...
@@ -195,11 +195,11 @@ LOCK TABLE
<varlistentry>
<term><computeroutput>
ERROR <replaceable class="PARAMETER">
tabl
e</replaceable>: Table does not exist.
ERROR <replaceable class="PARAMETER">
nam
e</replaceable>: Table does not exist.
</computeroutput></term>
<listitem>
<para>
Message returned if <replaceable class="PARAMETER">
tabl
e</replaceable>
Message returned if <replaceable class="PARAMETER">
nam
e</replaceable>
does not exist.
</para>
</listitem>
...
...
@@ -230,8 +230,9 @@ ERROR <replaceable class="PARAMETER">table</replaceable>: Table does not exist.
table before querying. This will protect data from concurrent changes
and provide any further read operations over the table with data in their
actual current state, because SHARE lock mode conflicts with any ROW EXCLUSIVE
one acquired by writers, and your LOCK TABLE table IN SHARE MODE statement
will wait until any concurrent write operations commit or rollback.
one acquired by writers, and your
<command>LOCK TABLE <replaceable class="PARAMETER">name</replaceable> IN SHARE MODE</command>
statement will wait until any concurrent write operations commit or rollback.
<note>
<para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment