Skip to content

Commit fb88017

Browse files
author
James William Pye
committed
Note the new features.
1 parent 0f21afe commit fb88017

28 files changed

Lines changed: 62 additions & 29 deletions

postgresql/documentation/alock.txt

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

7+
.. warning:: `postgresql.alock` is a new feature in v1.0.
8+
79
`Explicit Locking in PostgreSQL <http://www.postgresql.org/docs/current/static/explicit-locking.html#ADVISORY-LOCKS>`_.
810

911
PostgreSQL's advisory locks offer a cooperative synchronization primitive.

postgresql/documentation/copyman.txt

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

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

postgresql/documentation/html/_sources/alock.txt

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

7+
.. warning:: `postgresql.alock` is a new feature in v1.0.
8+
79
`Explicit Locking in PostgreSQL <http://www.postgresql.org/docs/current/static/explicit-locking.html#ADVISORY-LOCKS>`_.
810

911
PostgreSQL's advisory locks offer a cooperative synchronization primitive.

postgresql/documentation/html/_sources/changes.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Changes
88
* **DEPRECATION**: Removed pg_python and pg_dotconf 'scripts'.
99
They are still accessible by python3 -m postgresql.bin.pg_*
1010
* Added db.do() method for DO-statement support(convenience method).
11-
* Fix handling of unix domain sockets by pg.open and driver.connect.
12-
[Reported by twitter.com/rintavarustus]
1311
* Set the default client_min_messages level to WARNING.
1412
NOTICEs are often not desired by programmers, and py-postgresql's
1513
high verbosity further irritates that case.
@@ -34,6 +32,8 @@ Changes
3432
* Implement reference symbols. Allow libraries to define symbols that
3533
are used to create queries that inherit the original symbol's type and
3634
execution method. ``db.prepare(db.prepare(...).first())``
35+
* Fix handling of unix domain sockets by pg.open and driver.connect.
36+
[Reported by twitter.com/rintavarustus]
3737
* Fix typo/dropped parts of a raise LoadError in .lib.
3838
[Reported by Vlad Pranskevichus]
3939
* Fix db.tracer and pg_python's --pq-trace=

postgresql/documentation/html/_sources/copyman.txt

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

7+
.. warning:: `postgresql.copyman` is a new feature in v1.0.
8+
79
The `postgresql.copyman` module provides a way to quickly move COPY data coming
810
from one connection to many connections. Alternatively, it can also be sourced
911
by arbitrary iterators and target arbitrary callables.
@@ -28,8 +30,8 @@ However, if more control is needed, the `postgresql.copyman.CopyManager` class
2830
should be used directly.
2931

3032

31-
Managers
32-
========
33+
Copy Managers
34+
=============
3335

3436
The `postgresql.copyman.CopyManager` class manages the Producer and the
3537
Receivers involved in a COPY operation. Normally,
@@ -65,8 +67,8 @@ can be called to perform the operation::
6567
... copyman.CopyManager(producer, receiver).run()
6668

6769

68-
CopyManager Interface Points
69-
----------------------------
70+
Manager Interface Points
71+
------------------------
7072

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

postgresql/documentation/html/_sources/driver.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,11 @@ are seen as indexes and other objects are seen as keys::
10441044
>>> row["col0"]
10451045
't'
10461046

1047+
However, this extra functionality is not free. The cost of instantiating
1048+
`postgresql.types.Row` objects is quite measurable, so the `chunks()` execution
1049+
method will produce `builtins.tuple` objects for cases where performance is
1050+
critical.
1051+
10471052
.. note::
10481053
Attributes aren't used to provide access to values due to potential conflicts
10491054
with existing method and property names.

postgresql/documentation/html/_sources/notifyman.txt

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

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

postgresql/documentation/html/admin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ <h3>Navigation</h3>
172172
</div>
173173
<div class="footer">
174174
&copy; Copyright 2010, James William Pye &lt;x@jwp.name&gt;.
175-
Last updated on Mar 15, 2010.
175+
Last updated on Mar 18, 2010.
176176
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
177177
</div>
178178
</body>

postgresql/documentation/html/alock.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ <h3>Navigation</h3>
4747

4848
<div class="section" id="advisory-locks">
4949
<span id="alock"></span><h1>Advisory Locks<a class="headerlink" href="#advisory-locks" title="Permalink to this headline"></a></h1>
50+
<div class="admonition warning">
51+
<p class="first admonition-title">Warning</p>
52+
<p class="last"><cite>postgresql.alock</cite> is a new feature in v1.0.</p>
53+
</div>
5054
<p><a class="reference external" href="http://www.postgresql.org/docs/current/static/explicit-locking.html#ADVISORY-LOCKS">Explicit Locking in PostgreSQL</a>.</p>
5155
<p>PostgreSQL&#8217;s advisory locks offer a cooperative synchronization primitive.
5256
These are used in cases where an application needs access to a resource, but
@@ -205,7 +209,7 @@ <h3>Navigation</h3>
205209
</div>
206210
<div class="footer">
207211
&copy; Copyright 2010, James William Pye &lt;x@jwp.name&gt;.
208-
Last updated on Mar 15, 2010.
212+
Last updated on Mar 18, 2010.
209213
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
210214
</div>
211215
</body>

postgresql/documentation/html/bin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ <h3>Navigation</h3>
316316
</div>
317317
<div class="footer">
318318
&copy; Copyright 2010, James William Pye &lt;x@jwp.name&gt;.
319-
Last updated on Mar 15, 2010.
319+
Last updated on Mar 18, 2010.
320320
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
321321
</div>
322322
</body>

0 commit comments

Comments
 (0)