mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-06-11 00:23:17 +03:00
Don't use versions such as 2.8.0 in docs
Use 2.8.
This commit is contained in:
parent
599432552a
commit
0eb4560771
|
@ -328,7 +328,7 @@ received from a previous version server will have the
|
||||||
Asynchronous support
|
Asynchronous support
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
.. versionadded:: 2.2.0
|
.. versionadded:: 2.2
|
||||||
|
|
||||||
Psycopg can issue asynchronous queries to a PostgreSQL database. An asynchronous
|
Psycopg can issue asynchronous queries to a PostgreSQL database. An asynchronous
|
||||||
communication style is established passing the parameter *async*\=1 to the
|
communication style is established passing the parameter *async*\=1 to the
|
||||||
|
|
|
@ -610,7 +610,7 @@ The ``connection`` class
|
||||||
A `~psycopg2.extensions.ConnectionInfo` object exposing information
|
A `~psycopg2.extensions.ConnectionInfo` object exposing information
|
||||||
about the native libpq connection.
|
about the native libpq connection.
|
||||||
|
|
||||||
.. versionadded:: 2.8.0
|
.. versionadded:: 2.8
|
||||||
|
|
||||||
|
|
||||||
.. index::
|
.. index::
|
||||||
|
@ -695,7 +695,7 @@ The ``connection`` class
|
||||||
|
|
||||||
.. rubric:: Methods related to asynchronous support
|
.. rubric:: Methods related to asynchronous support
|
||||||
|
|
||||||
.. versionadded:: 2.2.0
|
.. versionadded:: 2.2
|
||||||
|
|
||||||
.. seealso:: :ref:`async-support` and :ref:`green-support`.
|
.. seealso:: :ref:`async-support` and :ref:`green-support`.
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ introspection etc.
|
||||||
|
|
||||||
Set the lobject current position.
|
Set the lobject current position.
|
||||||
|
|
||||||
.. versionchanged:: 2.6.0
|
.. versionchanged:: 2.6
|
||||||
added support for *offset* > 2GB.
|
added support for *offset* > 2GB.
|
||||||
|
|
||||||
|
|
||||||
|
@ -109,9 +109,9 @@ introspection etc.
|
||||||
|
|
||||||
Return the lobject current position.
|
Return the lobject current position.
|
||||||
|
|
||||||
.. versionadded:: 2.2.0
|
.. versionadded:: 2.2
|
||||||
|
|
||||||
.. versionchanged:: 2.6.0
|
.. versionchanged:: 2.6
|
||||||
added support for return value > 2GB.
|
added support for return value > 2GB.
|
||||||
|
|
||||||
|
|
||||||
|
@ -127,9 +127,9 @@ introspection etc.
|
||||||
.. |lo_truncate| replace:: `!lo_truncate()`
|
.. |lo_truncate| replace:: `!lo_truncate()`
|
||||||
.. _lo_truncate: https://www.postgresql.org/docs/current/static/lo-interfaces.html#LO-TRUNCATE
|
.. _lo_truncate: https://www.postgresql.org/docs/current/static/lo-interfaces.html#LO-TRUNCATE
|
||||||
|
|
||||||
.. versionadded:: 2.2.0
|
.. versionadded:: 2.2
|
||||||
|
|
||||||
.. versionchanged:: 2.6.0
|
.. versionchanged:: 2.6
|
||||||
added support for *len* > 2GB.
|
added support for *len* > 2GB.
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
@ -592,7 +592,7 @@ Coroutines support functions
|
||||||
These functions are used to set and retrieve the callback function for
|
These functions are used to set and retrieve the callback function for
|
||||||
:ref:`cooperation with coroutine libraries <green-support>`.
|
:ref:`cooperation with coroutine libraries <green-support>`.
|
||||||
|
|
||||||
.. versionadded:: 2.2.0
|
.. versionadded:: 2.2
|
||||||
|
|
||||||
.. autofunction:: set_wait_callback(f)
|
.. autofunction:: set_wait_callback(f)
|
||||||
|
|
||||||
|
@ -900,7 +900,7 @@ internal usage and Python code should not rely on them.
|
||||||
Poll constants
|
Poll constants
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
.. versionadded:: 2.2.0
|
.. versionadded:: 2.2
|
||||||
|
|
||||||
These values can be returned by `connection.poll()` during asynchronous
|
These values can be returned by `connection.poll()` during asynchronous
|
||||||
connection and communication. They match the values in the libpq enum
|
connection and communication. They match the values in the libpq enum
|
||||||
|
@ -1009,7 +1009,7 @@ from the database. See :ref:`unicode-handling` for details.
|
||||||
Typecasters to convert time-related data types to `mx.DateTime`_ objects.
|
Typecasters to convert time-related data types to `mx.DateTime`_ objects.
|
||||||
Only available if Psycopg was compiled with `!mx` support.
|
Only available if Psycopg was compiled with `!mx` support.
|
||||||
|
|
||||||
.. versionchanged:: 2.2.0
|
.. versionchanged:: 2.2
|
||||||
previously the `DECIMAL` typecaster and the specific time-related
|
previously the `DECIMAL` typecaster and the specific time-related
|
||||||
typecasters (`!PY*` and `!MX*`) were not exposed by the `extensions`
|
typecasters (`!PY*` and `!MX*`) were not exposed by the `extensions`
|
||||||
module. In older versions they can be imported from the implementation
|
module. In older versions they can be imported from the implementation
|
||||||
|
|
Loading…
Reference in New Issue
Block a user