summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-08-04 22:16:21 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-09-23 23:13:59 +0100
commit80ebb14df4fb70ebfaa8d84b1459332c6fbbd98c (patch)
tree2ae6a8a18f52a96584d929d269104742c5f2d787
parent9b3aa290d21ff093177de73817de8eec3f07216d (diff)
downloadpsycopg2-80ebb14df4fb70ebfaa8d84b1459332c6fbbd98c.tar.gz
Use stable anchors to reference PostgreSQL docs.
-rw-r--r--doc/src/advanced.rst4
-rw-r--r--doc/src/connection.rst12
-rw-r--r--doc/src/extensions.rst4
-rw-r--r--doc/src/usage.rst4
4 files changed, 12 insertions, 12 deletions
diff --git a/doc/src/advanced.rst b/doc/src/advanced.rst
index d3fdcfb..5847d41 100644
--- a/doc/src/advanced.rst
+++ b/doc/src/advanced.rst
@@ -123,7 +123,7 @@ geometric type:
.. |point| replace:: :sql:`point`
-.. _point: http://www.postgresql.org/docs/8.4/static/datatype-geometric.html#AEN6084
+.. _point: http://www.postgresql.org/docs/8.4/static/datatype-geometric.html#DATATYPE-GEOMETRIC
The above function call results in the SQL command::
@@ -327,7 +327,7 @@ completely non-blocking connection attempt: see the libpq documentation for
|PQconnectStart|_.
.. |PQconnectStart| replace:: `!PQconnectStart()`
-.. _PQconnectStart: http://www.postgresql.org/docs/8.4/static/libpq-connect.html#AEN33199
+.. _PQconnectStart: http://www.postgresql.org/docs/8.4/static/libpq-connect.html#LIBPQ-PQCONNECTSTART
The same loop should be also used to perform nonblocking queries: after
sending a query via `~cursor.execute()` or `~cursor.callproc()`, call
diff --git a/doc/src/connection.rst b/doc/src/connection.rst
index 33e07bc..35d8d4d 100644
--- a/doc/src/connection.rst
+++ b/doc/src/connection.rst
@@ -207,7 +207,7 @@ The ``connection`` class
.. seealso:: libpq docs for `PQbackendPID()`__ for details.
- .. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#AEN33590
+ .. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#LIBPQ-PQBACKENDPID
.. versionadded:: 2.0.8
@@ -228,7 +228,7 @@ The ``connection`` class
.. seealso:: libpq docs for `PQparameterStatus()`__ for details.
- .. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#AEN33499
+ .. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#LIBPQ-PQPARAMETERSTATUS
.. versionadded:: 2.0.12
@@ -245,7 +245,7 @@ The ``connection`` class
.. seealso:: libpq docs for `PQtransactionStatus()`__ for details.
- .. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#AEN33480
+ .. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#LIBPQ-PQTRANSACTIONSTATUS
.. index::
@@ -258,7 +258,7 @@ The ``connection`` class
.. seealso:: libpq docs for `PQprotocolVersion()`__ for details.
- .. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#AEN33546
+ .. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#LIBPQ-PQPROTOCOLVERSION
.. versionadded:: 2.0.12
@@ -276,7 +276,7 @@ The ``connection`` class
.. seealso:: libpq docs for `PQserverVersion()`__ for details.
- .. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#AEN33556
+ .. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#LIBPQ-PQSERVERVERSION
.. versionadded:: 2.0.12
@@ -311,7 +311,7 @@ The ``connection`` class
:rtype: `~psycopg2.extensions.lobject`
.. |lo_import| replace:: `!lo_import()`
- .. _lo_import: http://www.postgresql.org/docs/8.4/static/lo-interfaces.html#AEN36307
+ .. _lo_import: http://www.postgresql.org/docs/8.4/static/lo-interfaces.html#LO-IMPORT
.. versionadded:: 2.0.8
diff --git a/doc/src/extensions.rst b/doc/src/extensions.rst
index d98320a..bc57ee2 100644
--- a/doc/src/extensions.rst
+++ b/doc/src/extensions.rst
@@ -70,7 +70,7 @@ functionalities defined by the |DBAPI|_.
The method uses the efficient |lo_export|_ libpq function.
.. |lo_export| replace:: `!lo_export()`
- .. _lo_export: http://www.postgresql.org/docs/8.4/static/lo-interfaces.html#AEN36330
+ .. _lo_export: http://www.postgresql.org/docs/8.4/static/lo-interfaces.html#LO-EXPORT
.. method:: seek(offset, whence=0)
@@ -91,7 +91,7 @@ functionalities defined by the |DBAPI|_.
running these versions. It uses the |lo_truncate|_ libpq function.
.. |lo_truncate| replace:: `!lo_truncate()`
- .. _lo_truncate: http://www.postgresql.org/docs/8.4/static/lo-interfaces.html#AEN36420
+ .. _lo_truncate: http://www.postgresql.org/docs/8.4/static/lo-interfaces.html#LO-TRUNCATE
.. method:: close()
diff --git a/doc/src/usage.rst b/doc/src/usage.rst
index c6e5f0e..98204b1 100644
--- a/doc/src/usage.rst
+++ b/doc/src/usage.rst
@@ -537,6 +537,6 @@ Psycopg large object support efficient import/export with file system files
using the |lo_import|_ and |lo_export|_ libpq functions.
.. |lo_import| replace:: `!lo_import()`
-.. _lo_import: http://www.postgresql.org/docs/8.4/static/lo-interfaces.html#AEN36307
+.. _lo_import: http://www.postgresql.org/docs/8.4/static/lo-interfaces.html#LO-IMPORT
.. |lo_export| replace:: `!lo_export()`
-.. _lo_export: http://www.postgresql.org/docs/8.4/static/lo-interfaces.html#AEN36330
+.. _lo_export: http://www.postgresql.org/docs/8.4/static/lo-interfaces.html#LO-EXPORT