python - pq: Add BindingsAndExecutings transaction.

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (James William Pye)
Тема python - pq: Add BindingsAndExecutings transaction.
Дата
Msg-id 20050912221405.0E4451125F68@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Add BindingsAndExecutings transaction. This provides a substantial optimization
for mass insertions. In addition, add the concept of non-fatal exceptions.
Exceptions in a transaction are meant to be fatal to the connection. However,
for BindingsAndExecutings and one other, when the receptor specifies an iterator
to push, it must execute out-of-transaction code that can raise an exception.
These exceptions can be safely caught without a connection fatality, so store it
in 'nf_exc_info' for later use/raising.

Modified Files:
--------------
    pq/src:
        client3.py (r1.8 -> r1.9)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/client3.py.diff?r1=1.8&r2=1.9)

В списке pgsql-committers по дате отправления: