mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 02:43:43 +03:00
Use stable anchors to reference PostgreSQL docs.
This commit is contained in:
parent
9b3aa290d2
commit
80ebb14df4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user