Skip to content

Commit 7867225

Browse files
author
James William Pye
committed
Update.
1 parent c791ae6 commit 7867225

30 files changed

Lines changed: 1521 additions & 274 deletions

postgresql/documentation/html/_sources/changes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Changes
22
=======
33

4+
1.0.3 in development
5+
--------------------
6+
47
1.0.2 released on 2010-09-18
58
----------------------------
69

postgresql/documentation/html/_sources/copyman.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
Copy Management
55
***************
66

7-
.. warning:: `postgresql.copyman` is a new feature in v1.0.
8-
97
The `postgresql.copyman` module provides a way to quickly move COPY data coming
108
from one connection to many connections. Alternatively, it can be sourced
119
by arbitrary iterators and target arbitrary callables.

postgresql/documentation/html/_sources/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Reference
3232
:maxdepth: 2
3333

3434
bin
35+
modules
3536

3637
Sample Code
3738
-----------

postgresql/documentation/html/_sources/notifyman.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
Notification Management
55
***********************
66

7-
.. warning:: `postgresql.notifyman` is a new feature in v1.0.
8-
97
Relevant SQL commands: `NOTIFY <http://postgresql.org/docs/current/static/sql-notify.html>`_,
108
`LISTEN <http://postgresql.org/docs/current/static/sql-listen.html>`_,
119
`UNLISTEN <http://postgresql.org/docs/current/static/sql-unlisten.html>`_.

postgresql/documentation/html/admin.html

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,20 @@
33
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
44
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
55

6+
67
<html xmlns="http://www.w3.org/1999/xhtml">
78
<head>
89
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
910

10-
<title>Administration &mdash; py-postgresql v1.0.2 documentation</title>
11+
<title>Administration &mdash; py-postgresql 1.1.0dev documentation</title>
12+
1113
<link rel="stylesheet" href="_static/default.css" type="text/css" />
1214
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
15+
1316
<script type="text/javascript">
1417
var DOCUMENTATION_OPTIONS = {
1518
URL_ROOT: '',
16-
VERSION: '1.0.2',
19+
VERSION: '1.1.0dev',
1720
COLLAPSE_INDEX: false,
1821
FILE_SUFFIX: '.html',
1922
HAS_SOURCE: true
@@ -22,7 +25,7 @@
2225
<script type="text/javascript" src="_static/jquery.js"></script>
2326
<script type="text/javascript" src="_static/underscore.js"></script>
2427
<script type="text/javascript" src="_static/doctools.js"></script>
25-
<link rel="top" title="py-postgresql v1.0.2 documentation" href="index.html" />
28+
<link rel="top" title="py-postgresql 1.1.0dev documentation" href="index.html" />
2629
<link rel="next" title="Driver" href="driver.html" />
2730
<link rel="prev" title="py-postgresql" href="index.html" />
2831
</head>
@@ -33,13 +36,16 @@ <h3>Navigation</h3>
3336
<li class="right" style="margin-right: 10px">
3437
<a href="genindex.html" title="General Index"
3538
accesskey="I">index</a></li>
39+
<li class="right" >
40+
<a href="py-modindex.html" title="Python Module Index"
41+
>modules</a> |</li>
3642
<li class="right" >
3743
<a href="driver.html" title="Driver"
3844
accesskey="N">next</a> |</li>
3945
<li class="right" >
4046
<a href="index.html" title="py-postgresql"
4147
accesskey="P">previous</a> |</li>
42-
<li><a href="index.html">py-postgresql v1.0.2 documentation</a> &raquo;</li>
48+
<li><a href="index.html">py-postgresql 1.1.0dev documentation</a> &raquo;</li>
4349
</ul>
4450
</div>
4551

@@ -71,18 +77,18 @@ <h2>Installation<a class="headerlink" href="#installation" title="Permalink to t
7177
<h2>Environment<a class="headerlink" href="#environment" title="Permalink to this headline"></a></h2>
7278
<p>These environment variables effect the operation of the package:</p>
7379
<blockquote>
74-
<table border="1" class="docutils">
80+
<div><table border="1" class="docutils">
7581
<colgroup>
7682
<col width="15%" />
7783
<col width="85%" />
7884
</colgroup>
7985
<tbody valign="top">
80-
<tr><td>PGINSTALLATION</td>
86+
<tr class="row-odd"><td>PGINSTALLATION</td>
8187
<td>The path to the <tt class="docutils literal"><span class="pre">pg_config</span></tt> executable of the installation to use by default.</td>
8288
</tr>
8389
</tbody>
8490
</table>
85-
</blockquote>
91+
</div></blockquote>
8692
</div>
8793
</div>
8894

@@ -135,19 +141,22 @@ <h3>Navigation</h3>
135141
<li class="right" style="margin-right: 10px">
136142
<a href="genindex.html" title="General Index"
137143
>index</a></li>
144+
<li class="right" >
145+
<a href="py-modindex.html" title="Python Module Index"
146+
>modules</a> |</li>
138147
<li class="right" >
139148
<a href="driver.html" title="Driver"
140149
>next</a> |</li>
141150
<li class="right" >
142151
<a href="index.html" title="py-postgresql"
143152
>previous</a> |</li>
144-
<li><a href="index.html">py-postgresql v1.0.2 documentation</a> &raquo;</li>
153+
<li><a href="index.html">py-postgresql 1.1.0dev documentation</a> &raquo;</li>
145154
</ul>
146155
</div>
147156
<div class="footer">
148157
&copy; Copyright 2010, James William Pye &lt;[email protected]&gt;.
149-
Last updated on Sep 18, 2010.
150-
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0b2.
158+
Last updated on Sep 20, 2011.
159+
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1pre.
151160
</div>
152161
</body>
153162
</html>

postgresql/documentation/html/alock.html

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,20 @@
33
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
44
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
55

6+
67
<html xmlns="http://www.w3.org/1999/xhtml">
78
<head>
89
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
910

10-
<title>Advisory Locks &mdash; py-postgresql v1.0.2 documentation</title>
11+
<title>Advisory Locks &mdash; py-postgresql 1.1.0dev documentation</title>
12+
1113
<link rel="stylesheet" href="_static/default.css" type="text/css" />
1214
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
15+
1316
<script type="text/javascript">
1417
var DOCUMENTATION_OPTIONS = {
1518
URL_ROOT: '',
16-
VERSION: '1.0.2',
19+
VERSION: '1.1.0dev',
1720
COLLAPSE_INDEX: false,
1821
FILE_SUFFIX: '.html',
1922
HAS_SOURCE: true
@@ -22,7 +25,7 @@
2225
<script type="text/javascript" src="_static/jquery.js"></script>
2326
<script type="text/javascript" src="_static/underscore.js"></script>
2427
<script type="text/javascript" src="_static/doctools.js"></script>
25-
<link rel="top" title="py-postgresql v1.0.2 documentation" href="index.html" />
28+
<link rel="top" title="py-postgresql 1.1.0dev documentation" href="index.html" />
2629
<link rel="next" title="Cluster Management" href="cluster.html" />
2730
<link rel="prev" title="Notification Management" href="notifyman.html" />
2831
</head>
@@ -33,13 +36,16 @@ <h3>Navigation</h3>
3336
<li class="right" style="margin-right: 10px">
3437
<a href="genindex.html" title="General Index"
3538
accesskey="I">index</a></li>
39+
<li class="right" >
40+
<a href="py-modindex.html" title="Python Module Index"
41+
>modules</a> |</li>
3642
<li class="right" >
3743
<a href="cluster.html" title="Cluster Management"
3844
accesskey="N">next</a> |</li>
3945
<li class="right" >
4046
<a href="notifyman.html" title="Notification Management"
4147
accesskey="P">previous</a> |</li>
42-
<li><a href="index.html">py-postgresql v1.0.2 documentation</a> &raquo;</li>
48+
<li><a href="index.html">py-postgresql 1.1.0dev documentation</a> &raquo;</li>
4349
</ul>
4450
</div>
4551

@@ -60,16 +66,16 @@ <h3>Navigation</h3>
6066
using table locks may cause interference with other operations that can be
6167
safely performed alongside the application-level, exclusive operation.</p>
6268
<p>Advisory locks can be used by directly executing the stored procedures in the
63-
database or by using the <tt class="xref py py-class docutils literal"><span class="pre">postgresql.alock.ALock</span></tt> subclasses, which
69+
database or by using the <a class="reference internal" href="modules.html#postgresql.alock.ALock" title="postgresql.alock.ALock"><tt class="xref py py-class docutils literal"><span class="pre">postgresql.alock.ALock</span></tt></a> subclasses, which
6470
provides a context manager that uses those stored procedures.</p>
6571
<p>Currently, only two subclasses exist. Each represents the lock mode
6672
supported by PostgreSQL&#8217;s advisory locks:</p>
6773
<blockquote>
68-
<ul class="simple">
74+
<div><ul class="simple">
6975
<li><tt class="xref py py-class docutils literal"><span class="pre">postgresql.alock.ShareLock</span></tt></li>
7076
<li><tt class="xref py py-class docutils literal"><span class="pre">postgresql.alock.ExclusiveLock</span></tt></li>
7177
</ul>
72-
</blockquote>
78+
</div></blockquote>
7379
<div class="section" id="acquiring-alocks">
7480
<h2>Acquiring ALocks<a class="headerlink" href="#acquiring-alocks" title="Permalink to this headline"></a></h2>
7581
<p>An ALock instance represents a sequence of advisory locks. A single ALock can
@@ -84,7 +90,7 @@ <h2>Acquiring ALocks<a class="headerlink" href="#acquiring-alocks" title="Permal
8490
<span class="gp">&gt;&gt;&gt; </span><span class="n">l</span><span class="o">.</span><span class="n">release</span><span class="p">()</span>
8591
</pre></div>
8692
</div>
87-
<p><tt class="xref py py-class docutils literal"><span class="pre">postgresql.alock.ALock</span></tt> is similar to <tt class="xref py py-class docutils literal"><span class="pre">threading.RLock</span></tt>; in
93+
<p><a class="reference internal" href="modules.html#postgresql.alock.ALock" title="postgresql.alock.ALock"><tt class="xref py py-class docutils literal"><span class="pre">postgresql.alock.ALock</span></tt></a> is similar to <tt class="xref py py-class docutils literal"><span class="pre">threading.RLock</span></tt>; in
8894
order for an ALock to be released, it must be released the number of times it
8995
has been acquired. ALocks are associated with and survived by their session.
9096
Much like how RLocks are associated with the thread they are acquired in:
@@ -108,7 +114,7 @@ <h2>ALocks<a class="headerlink" href="#alocks" title="Permalink to this headline
108114
functionality. The lock mode is selected by choosing the appropriate subclass.</p>
109115
<p>There are two:</p>
110116
<blockquote>
111-
<dl class="docutils">
117+
<div><dl class="docutils">
112118
<dt><tt class="docutils literal"><span class="pre">postgresql.alock.ExclusiveLock(database,</span> <span class="pre">*identifiers)</span></tt></dt>
113119
<dd>Instantiate an ALock object representing the <cite>identifiers</cite> for use with the
114120
<cite>database</cite>. Exclusive locks will conflict with other exclusive locks and share
@@ -119,12 +125,12 @@ <h2>ALocks<a class="headerlink" href="#alocks" title="Permalink to this headline
119125
identifier has been acquired by another backend. However, an exclusive lock
120126
with the same identifier will conflict.</dd>
121127
</dl>
122-
</blockquote>
128+
</div></blockquote>
123129
<div class="section" id="alock-interface-points">
124130
<h3>ALock Interface Points<a class="headerlink" href="#alock-interface-points" title="Permalink to this headline"></a></h3>
125-
<p>Methods and properties available on <tt class="xref py py-class docutils literal"><span class="pre">postgresql.alock.ALock</span></tt> instances:</p>
131+
<p>Methods and properties available on <a class="reference internal" href="modules.html#postgresql.alock.ALock" title="postgresql.alock.ALock"><tt class="xref py py-class docutils literal"><span class="pre">postgresql.alock.ALock</span></tt></a> instances:</p>
126132
<blockquote>
127-
<dl class="docutils">
133+
<div><dl class="docutils">
128134
<dt><tt class="docutils literal"><span class="pre">alock.acquire(blocking</span> <span class="pre">=</span> <span class="pre">True)</span></tt></dt>
129135
<dd><p class="first">Acquire the advisory locks represented by the <tt class="docutils literal"><span class="pre">alock</span></tt> object. If blocking is
130136
<cite>True</cite>, the default, the method will block until locks on <em>all</em> the
@@ -144,7 +150,7 @@ <h3>ALock Interface Points<a class="headerlink" href="#alock-interface-points" t
144150
<dt><tt class="docutils literal"><span class="pre">alock.__exit__(typ,</span> <span class="pre">val,</span> <span class="pre">tb)</span></tt></dt>
145151
<dd>Alias to <tt class="docutils literal"><span class="pre">release</span></tt>; context manager protocol.</dd>
146152
</dl>
147-
</blockquote>
153+
</div></blockquote>
148154
</div>
149155
</div>
150156
</div>
@@ -201,19 +207,22 @@ <h3>Navigation</h3>
201207
<li class="right" style="margin-right: 10px">
202208
<a href="genindex.html" title="General Index"
203209
>index</a></li>
210+
<li class="right" >
211+
<a href="py-modindex.html" title="Python Module Index"
212+
>modules</a> |</li>
204213
<li class="right" >
205214
<a href="cluster.html" title="Cluster Management"
206215
>next</a> |</li>
207216
<li class="right" >
208217
<a href="notifyman.html" title="Notification Management"
209218
>previous</a> |</li>
210-
<li><a href="index.html">py-postgresql v1.0.2 documentation</a> &raquo;</li>
219+
<li><a href="index.html">py-postgresql 1.1.0dev documentation</a> &raquo;</li>
211220
</ul>
212221
</div>
213222
<div class="footer">
214223
&copy; Copyright 2010, James William Pye &lt;[email protected]&gt;.
215-
Last updated on Sep 18, 2010.
216-
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0b2.
224+
Last updated on Sep 20, 2011.
225+
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1pre.
217226
</div>
218227
</body>
219228
</html>

postgresql/documentation/html/bin.html

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,20 @@
33
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
44
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
55

6+
67
<html xmlns="http://www.w3.org/1999/xhtml">
78
<head>
89
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
910

10-
<title>Commands &mdash; py-postgresql v1.0.2 documentation</title>
11+
<title>Commands &mdash; py-postgresql 1.1.0dev documentation</title>
12+
1113
<link rel="stylesheet" href="_static/default.css" type="text/css" />
1214
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
15+
1316
<script type="text/javascript">
1417
var DOCUMENTATION_OPTIONS = {
1518
URL_ROOT: '',
16-
VERSION: '1.0.2',
19+
VERSION: '1.1.0dev',
1720
COLLAPSE_INDEX: false,
1821
FILE_SUFFIX: '.html',
1922
HAS_SOURCE: true
@@ -22,7 +25,8 @@
2225
<script type="text/javascript" src="_static/jquery.js"></script>
2326
<script type="text/javascript" src="_static/underscore.js"></script>
2427
<script type="text/javascript" src="_static/doctools.js"></script>
25-
<link rel="top" title="py-postgresql v1.0.2 documentation" href="index.html" />
28+
<link rel="top" title="py-postgresql 1.1.0dev documentation" href="index.html" />
29+
<link rel="next" title="Modules" href="modules.html" />
2630
<link rel="prev" title="Changes" href="changes.html" />
2731
</head>
2832
<body>
@@ -32,10 +36,16 @@ <h3>Navigation</h3>
3236
<li class="right" style="margin-right: 10px">
3337
<a href="genindex.html" title="General Index"
3438
accesskey="I">index</a></li>
39+
<li class="right" >
40+
<a href="py-modindex.html" title="Python Module Index"
41+
>modules</a> |</li>
42+
<li class="right" >
43+
<a href="modules.html" title="Modules"
44+
accesskey="N">next</a> |</li>
3545
<li class="right" >
3646
<a href="changes.html" title="Changes"
3747
accesskey="P">previous</a> |</li>
38-
<li><a href="index.html">py-postgresql v1.0.2 documentation</a> &raquo;</li>
48+
<li><a href="index.html">py-postgresql 1.1.0dev documentation</a> &raquo;</li>
3949
</ul>
4050
</div>
4151

@@ -55,7 +65,7 @@ <h2>postgresql.bin.pg_python<a class="headerlink" href="#postgresql-bin-pg-pytho
5565
to make establish connection with. The Python environment is then augmented
5666
with the following built-ins:</p>
5767
<blockquote>
58-
<dl class="docutils">
68+
<div><dl class="docutils">
5969
<dt><tt class="docutils literal"><span class="pre">db</span></tt></dt>
6070
<dd>The PG-API connection object.</dd>
6171
<dt><tt class="docutils literal"><span class="pre">xact</span></tt></dt>
@@ -69,9 +79,9 @@ <h2>postgresql.bin.pg_python<a class="headerlink" href="#postgresql-bin-pg-pytho
6979
<dt><tt class="docutils literal"><span class="pre">do</span></tt></dt>
7080
<dd><tt class="docutils literal"><span class="pre">db.do</span></tt>, execute a single DO statement.</dd>
7181
<dt><tt class="docutils literal"><span class="pre">sqlexec</span></tt></dt>
72-
<dd><tt class="docutils literal"><span class="pre">db.execute</span></tt>, execute multiple SQL statements (<tt class="xref docutils literal"><span class="pre">None</span></tt> is always returned)</dd>
82+
<dd><tt class="docutils literal"><span class="pre">db.execute</span></tt>, execute multiple SQL statements (<tt class="docutils literal"><span class="pre">None</span></tt> is always returned)</dd>
7383
</dl>
74-
</blockquote>
84+
</div></blockquote>
7585
<div class="section" id="pg-python-usage">
7686
<h3>pg_python Usage<a class="headerlink" href="#pg-python-usage" title="Permalink to this headline"></a></h3>
7787
<p>Usage: postgresql.bin.pg_python [connection options] [script] ...</p>
@@ -283,6 +293,9 @@ <h3><a href="index.html">Table Of Contents</a></h3>
283293
<h4>Previous topic</h4>
284294
<p class="topless"><a href="changes.html"
285295
title="previous chapter">Changes</a></p>
296+
<h4>Next topic</h4>
297+
<p class="topless"><a href="modules.html"
298+
title="next chapter">Modules</a></p>
286299
<h3>This Page</h3>
287300
<ul class="this-page-menu">
288301
<li><a href="_sources/bin.txt"
@@ -311,16 +324,22 @@ <h3>Navigation</h3>
311324
<li class="right" style="margin-right: 10px">
312325
<a href="genindex.html" title="General Index"
313326
>index</a></li>
327+
<li class="right" >
328+
<a href="py-modindex.html" title="Python Module Index"
329+
>modules</a> |</li>
330+
<li class="right" >
331+
<a href="modules.html" title="Modules"
332+
>next</a> |</li>
314333
<li class="right" >
315334
<a href="changes.html" title="Changes"
316335
>previous</a> |</li>
317-
<li><a href="index.html">py-postgresql v1.0.2 documentation</a> &raquo;</li>
336+
<li><a href="index.html">py-postgresql 1.1.0dev documentation</a> &raquo;</li>
318337
</ul>
319338
</div>
320339
<div class="footer">
321340
&copy; Copyright 2010, James William Pye &lt;[email protected]&gt;.
322-
Last updated on Sep 18, 2010.
323-
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0b2.
341+
Last updated on Sep 20, 2011.
342+
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1pre.
324343
</div>
325344
</body>
326345
</html>

0 commit comments

Comments
 (0)