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

Commitf05ac97

Browse files
author
Thomas G. Lockhart
committed
Fix markup for terminology.
1 parent0b3214a commitf05ac97

File tree

1 file changed

+52
-62
lines changed

1 file changed

+52
-62
lines changed

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

Lines changed: 52 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.19 2000/03/24 03:57:06 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/lock.sgml,v 1.20 2000/03/28 14:35:27 thomas Exp $
33
Postgres documentation
44
-->
55

@@ -224,74 +224,64 @@ ERROR <replaceable class="PARAMETER">name</replaceable>: Table does not exist.
224224
<title>
225225
Description
226226
</title>
227-
<title>
228-
Terms
229-
</title>
230-
<para>
231-
<variablelist>
232-
<varlistentry>
233-
<term>EXCLUSIVE</term>
234-
<listitem>
235-
<para>
236-
Exclusive lock that prevents other locks from being granted.
237-
</para>
238-
</listitem>
239-
</varlistentry>
240-
</variablelist>
241-
242-
<variablelist>
243-
<varlistentry>
244-
<term>SHARE</term>
245-
<listitem>
246-
<para>
247-
Allows others to share lock. Prevents EXCLUSIVE locks.
248-
</para>
249-
</listitem>
250-
</varlistentry>
251-
</variablelist>
252-
253-
<variablelist>
254-
<varlistentry>
255-
<term>ACCESS</term>
256-
<listitem>
257-
<para>
258-
Locks table schema.
259-
</para>
260-
</listitem>
261-
</varlistentry>
262-
</variablelist>
263-
264-
<variablelist>
265-
<varlistentry>
266-
<term>ROW</term>
267-
<listitem>
268-
<para>
269-
Locks individual rows.
270-
</para>
271-
</listitem>
272-
</varlistentry>
273-
</variablelist>
274-
275-
<variablelist>
276-
<varlistentry>
277-
<term>Notes</term>
278-
<listitem>
279-
<para>
280-
If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
281-
Locks exist for the duration of the transaction.
282-
</para>
283-
</listitem>
284-
</varlistentry>
285-
</variablelist>
286-
287-
</para>
288227

289228
<para>
229+
<command>LOCK TABLE</command> controls concurrent access to a table
230+
for the duration of a transaction.
290231
<productname>Postgres</productname> always uses the least restrictive
291232
lock mode whenever possible. <command>LOCK TABLE</command>
292233
provided for cases when you might need more restrictive locking.
293234
</para>
294235

236+
<para>
237+
<acronym>RDBMS</acronym> locking uses the following terminology:
238+
239+
<variablelist>
240+
<varlistentry>
241+
<term>EXCLUSIVE</term>
242+
<listitem>
243+
<para>
244+
Exclusive lock that prevents other locks from being granted.
245+
</para>
246+
</listitem>
247+
</varlistentry>
248+
249+
<varlistentry>
250+
<term>SHARE</term>
251+
<listitem>
252+
<para>
253+
Allows others to share lock. Prevents EXCLUSIVE locks.
254+
</para>
255+
</listitem>
256+
</varlistentry>
257+
258+
<varlistentry>
259+
<term>ACCESS</term>
260+
<listitem>
261+
<para>
262+
Locks table schema.
263+
</para>
264+
</listitem>
265+
</varlistentry>
266+
267+
<varlistentry>
268+
<term>ROW</term>
269+
<listitem>
270+
<para>
271+
Locks individual rows.
272+
</para>
273+
</listitem>
274+
</varlistentry>
275+
</variablelist>
276+
277+
<note>
278+
<para>
279+
If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
280+
Locks exist for the duration of the transaction.
281+
</para>
282+
</note>
283+
</para>
284+
295285
<para>
296286
For example, an application runs a transaction at READ COMMITTED isolation
297287
level and needs to ensure the existance of data in a table for the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp