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

From jwp@pgfoundry.org (James William Pye)
Subject python - ip: Set GTX as a builtin instead of filling it in as a local.
Date
Msg-id 20060807063618.AC4BA86C65E@pgfoundry.org
Whole thread Raw
List 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 by date:

Previous
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - fe: Close connection on fatal errors.
Next
From: meskes@postgresql.org (Michael Meskes)
Date:
Subject: pgsql: Joachim fixed some bugs in numeric handling in pgtypeslib.