Skip to content

Commit 4e2ef4f

Browse files
author
James William Pye
committed
Sectioning reorganization and renaming.
1 parent 7486b44 commit 4e2ef4f

3 files changed

Lines changed: 17 additions & 7 deletions

File tree

postgresql/documentation/alock.txt

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _alock:
2+
13
**************
24
Advisory Locks
35
**************
@@ -54,7 +56,14 @@ their type, will be aquired in the order that they were given to the class'
5456
constructor. In the above example, ``(0,0)`` is acquired first, then ``0``, and
5557
lastly ``1``.
5658

57-
`postgresql.alock.ALock` subclasses:
59+
60+
ALocks
61+
======
62+
63+
`postgresql.alock.ALock` is abstract; it defines the interface and some common
64+
functionality. The lock mode is selected by choosing the appropriate subclass.
65+
66+
There are two:
5867

5968
``postgresql.alock.ExclusiveLock(database, *identifiers)``
6069
Instantiate an ALock object representing the `identifiers` for use with the
@@ -68,8 +77,8 @@ lastly ``1``.
6877
with the same identifier will conflict.
6978

7079

71-
Advisory Lock Interface Points
72-
==============================
80+
ALock Interface Points
81+
----------------------
7382

7483
Methods and properties available on :class:`postgresql.alock.ALock` instances:
7584

postgresql/documentation/copyman.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ However, if more control is needed, the `postgresql.copyman.CopyManager` class
2828
should be used directly.
2929

3030

31-
Managers
32-
========
31+
Copy Managers
32+
=============
3333

3434
The `postgresql.copyman.CopyManager` class manages the Producer and the
3535
Receivers involved in a COPY operation. Normally,
@@ -65,8 +65,8 @@ can be called to perform the operation::
6565
... copyman.CopyManager(producer, receiver).run()
6666

6767

68-
CopyManager Interface Points
69-
----------------------------
68+
Manager Interface Points
69+
------------------------
7070

7171
Primarily, the `postgresql.copyman.CopyManager` provides a context manager and
7272
an iterator for controlling the COPY operation.

postgresql/documentation/sphinx/build.sh

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/sh
12
mkdir -p ../html/doctrees
23
cp ../*.txt ./
34
cp index.rst index.txt

0 commit comments

Comments
 (0)