mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-11 03:26:37 +03:00
Added notes about stuff changed in ver. 2.0.14.
This commit is contained in:
parent
97ced0d4f1
commit
140e6ad4f2
|
@ -182,7 +182,7 @@ deal with Python objects adaptation:
|
|||
>>> Binary("\x00\x08\x0F").getquoted()
|
||||
"'\\\\000\\\\010\\\\017'"
|
||||
|
||||
.. versionchanged:: 2.0.14(ish)
|
||||
.. versionchanged:: 2.0.14
|
||||
previously the adapter was not exposed by the `extensions`
|
||||
module. In older version it can be imported from the implementation
|
||||
module `!psycopg2._psycopg`.
|
||||
|
|
|
@ -286,15 +286,13 @@ the SQL string that would be sent to the database.
|
|||
SQL doesn't allow an empty list in the IN operator, so your code should
|
||||
guard against empty tuples.
|
||||
|
||||
.. note::
|
||||
|
||||
The IN adapter is automatically registered when the
|
||||
`~psycopg2.extensions` module is imported. This behaviour may change
|
||||
in the future and the adapter will probably be always active.
|
||||
|
||||
.. versionadded:: 2.0.6
|
||||
the tuple :sql:`IN` adaptation.
|
||||
|
||||
.. versionchanged:: 2.0.14
|
||||
the tuple :sql:`IN` adapter is always active. In previous releases it
|
||||
was necessary to import the `~psycopg2.extensions` module to have it
|
||||
registered.
|
||||
|
||||
.. index::
|
||||
single: Unicode
|
||||
|
|
Loading…
Reference in New Issue
Block a user