-
==============
0.9 Changelog
==============
.. include:: changelog_07.rst
:start-line: 5
-.. changelog::
+.. _unreleased_changelog::
:version: 0.9.11
.. change::
:ref:`relationship_custom_operator`
-
.. change::
:tags: bug, sqlite
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
-"""
+r"""
.. dialect:: postgresql+psycopg2
:name: psycopg2
:dbapi: psycopg2
- :connectstring: postgresql+psycopg2://user:password@host:port/dbname\
-[?key=value&key=value...]
+ :connectstring: postgresql+psycopg2://user:password@host:port/dbname[?key=value&key=value...]
:url: http://pypi.python.org/pypi/psycopg2/
psycopg2 Connect Arguments
time are fetched over the wire to reduce conversational overhead.
Note that the ``stream_results=True`` execution option is a more targeted
way of enabling this mode on a per-execution basis.
+
* ``use_native_unicode``: Enable the usage of Psycopg2 "native unicode" mode
per connection. True by default.
create_engine("postgresql+psycopg2://user:password@/dbname?\
host=/var/lib/postgresql")
-See also:
+.. seealso::
-`PQconnectdbParams <http://www.postgresql.org/docs/9.1/static/\
-libpq-connect.html#LIBPQ-PQCONNECTDBPARAMS>`_
+ `PQconnectdbParams <http://www.postgresql.org/docs/9.1/static/libpq-connect.html#LIBPQ-PQCONNECTDBPARAMS>`_
.. _psycopg2_execution_options:
The default string storage format is::
- "%(year)04d-%(month)02d-%(day)02d %(hour)02d:%(min)02d:\
-%(second)02d.%(microsecond)06d"
+ "%(year)04d-%(month)02d-%(day)02d %(hour)02d:%(min)02d:%(second)02d.%(microsecond)06d"
e.g.::
Otherwise, if positional groups are used, the datetime() constructor
is called with positional arguments via
``*map(int, match_obj.groups(0))``.
+
"""
_storage_format = (
.. seealso::
- :meth:`.Session.rollback`
+ :meth:`.Session.rollback`
- :meth:`.Session.commit`
+ :meth:`.Session.commit`
- :meth:`.Session.begin`
+ :meth:`.Session.begin`
- :meth:`.Session.begin_nested`
+ :meth:`.Session.begin_nested`
- :attr:`.Session.is_active`
+ :attr:`.Session.is_active`
- :meth:`.SessionEvents.after_transaction_create`
+ :meth:`.SessionEvents.after_transaction_create`
- :meth:`.SessionEvents.after_transaction_end`
+ :meth:`.SessionEvents.after_transaction_end`
- :meth:`.SessionEvents.after_commit`
+ :meth:`.SessionEvents.after_commit`
- :meth:`.SessionEvents.after_rollback`
+ :meth:`.SessionEvents.after_rollback`
- :meth:`.SessionEvents.after_soft_rollback`
+ :meth:`.SessionEvents.after_soft_rollback`
"""