python - ip: Set GTX as a builtin instead of filling it in as a local.

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (James William Pye)
Тема python - ip: Set GTX as a builtin instead of filling it in as a local.
Дата
Msg-id 20060807063618.AC4BA86C65E@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Set GTX as a builtin instead of filling it in as a local.

While it would be preferrable not to touch the builtins module, having GTX
there seems most appropriate. Having it as it was before makes '-m module' less
useful as access to the connection is hidden by the module layer. Having it
available through an import statement seems unnatural as it is a single
connection object, not a module.

Also, add the -X option for wrapping the entire run in a transaction block.
Whether xact or subxact being implementation dependent.

Modified Files:
--------------
    ip/src:
        python.py (r1.2 -> r1.3)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/ip/src/python.py.diff?r1=1.2&r2=1.3)

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

Предыдущее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - fe: Close connection on fatal errors.
Следующее
От: meskes@postgresql.org (Michael Meskes)
Дата:
Сообщение: pgsql: Joachim fixed some bugs in numeric handling in pgtypeslib.