source: trunk/module/pgdb.py

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @697   4 years cito Test rowcount attribute with copy methods
(edit) @693   4 years cito Support copy_from() and copy_to() in pgdb
(edit) @692   4 years cito Implement the callproc() cursor method The implementation has been a …
(edit) @683   4 years cito Return rows as named tuples in pgdb By default, we now return result …
(edit) @682   4 years cito Add cursor classes for returning various row types Currently, …
(edit) @681   4 years cito Let cursor.description return named tuples
(edit) @680   4 years cito Remove the deprecated tty parameter and attribute This parameter has …
(edit) @679   4 years cito Use simpler and more standard type names in pgdb We already renamed …
(edit) @678   4 years cito More elegant code using decorators and dict comprehension
(edit) @629   4 years cito Improve unicode support, particularly for pgdb The pgdb source object …
(edit) @627   4 years cito Proper enabling of function for Python 2.6
(edit) @622   4 years cito Use the ternary operator in modern Python Since we require Python …
(edit) @601   4 years cito Python 3 changed the iterator protocol
(edit) @600   4 years cito Make use of decorator syntax
(edit) @599   4 years cito Fix a few Python 3 issues with the main tests
(edit) @553   4 years cito Require at least Python 2.6 for the trunk (5.x) Support for even …
(edit) @523   4 years D'Arcy J.M. Cain Use modern exception handling. Makes it ready for Python 3.
(edit) @522   4 years cito Correction in docstring (reported by Philipp Hahn).
(edit) @521   4 years D'Arcy J.M. Cain Use hard coded path rather than env.
(edit) @463   7 years cito Connection as context manager for transactions in pgdb.
(edit) @438   7 years cito Allow connections and cursors to be used with the "with" statement (#46).
(edit) @437   7 years cito Roll back any open transaction when closing a connection (#46).
(edit) @436   7 years cito Some clean-up, mostly PEP8 issues.
(edit) @434   7 years cito Add sqlstate attribute to DatabaseError? instances.
(edit) @428   7 years cito Fix problem when standard_conforming_string = on (Postgres 9.1). …
(edit) @423   8 years D'Arcy J.M. Cain In early November, 2011 the system housing PyGreSQL was hacked and …
(edit) @422   9 years D'Arcy J.M. Cain Changes to ease transition to Python 3.x while allowing scripts to …
(edit) @404   10 years cito Added SVN keyword "Id".
(edit) @401   10 years cito Escape and unescape Binary objects (as suggested by Dan McDonald?).
(edit) @398   11 years cito Let execute() and executemany() methods return the cursor object. …
(edit) @377   11 years cito Minor issues.
(edit) @374   11 years cito Made cursors support the iteration protocol (this is one of the …
(edit) @373   11 years cito Added function for getting or setting the decimal type to be used by …
(edit) @372   11 years cito Provide readable cursor attribute "connection" (this is one of the …
(edit) @367   11 years cito Allow connect() without passing a dsn.
(edit) @366   11 years cito Added int8 to INTEGER types, created new SMALLINT type.
(edit) @365   11 years cito Added support for PQescapeStringConn() and PQescapeByteaConn(). …
(edit) @359   11 years cito Avoid bare excepts.
(edit) @349   11 years D'Arcy J.M. Cain Removed dependence on mx.DateTime? and renamed usage to standard …
(edit) @347   11 years cito Updated the dbapi20 test module. Exposed the exceptions as attributes …
(edit) @346   11 years cito Consistently use 4 spaces instead of tabs for all Python moduls, as …
(edit) @343   11 years cito Some more code clean-up in the pgdb module.
(edit) @342   11 years cito Modernized pgdb module code a bit (we now require Python 2.3). …
(edit) @341   11 years cito Fixed wrong indentation.
(edit) @340   11 years cito Simplified type casting further. The DBAPI types cannot be cached …
(edit) @336   11 years cito As suggested by Peter Schuller, increase fetchall() performance for …
(edit) @335   11 years cito Use newer style when raising exceptions (this works with all Py 2.x as …
(edit) @328   11 years cito If available, use decimal.Decimal for numeric types.
(edit) @311   13 years D'Arcy J.M. Cain Add row_factory as suggested by Simon Pamies. Add unit test for …
(edit) @307   13 years cito Start transactions only when necessary. Don't use private attributes …
(edit) @302   13 years cito Separated between mandatory and additional type objects. All type …
(edit) @290   13 years cito Use string methods instead of deprecated string functions.
(edit) @288   13 years cito Use SQL-standard way of escaping quotes. Adapted unit tests.
(edit) @230   14 years D'Arcy J.M. Cain Add Binary type. Note that this simply returns the string passed to …
(edit) @222   14 years cito Added shebang line as requested by Devrim Gunduz for building …
(edit) @205   14 years cito Use datetime if mx.DateTime? not available
(edit) @204   14 years cito Major improvements in classic pg module
(edit) @190   15 years D'Arcy J.M. Cain Add Unicode support.
(edit) @189   15 years D'Arcy J.M. Cain Add lastrowid attribute to cursor object as per DB-API 2.0 spec.
(edit) @184   15 years D'Arcy J.M. Cain Convert _quote/_quoteparams to a derived class that allows for only …
(edit) @176   15 years D'Arcy J.M. Cain Use isinstance instead of type to test object types.
(edit) @175   15 years D'Arcy J.M. Cain Modify exception handling to use DB-API 2.0 exception hierarchy. Use …
(edit) @174   15 years D'Arcy J.M. Cain Although deprecated in 2.0, returning -1 from execute if query is DDL …
(edit) @173   15 years D'Arcy J.M. Cain The keep option to fetchmany is non-standard and produces unexpected …
(edit) @162   15 years D'Arcy J.M. Cain Switch to using isinstance instead of type. This allows us to send …
(edit) @130   17 years D'Arcy J.M. Cain Correction to last patch. As per the DB-API spec, we need to return …
(edit) @123   17 years D'Arcy J.M. Cain Remove typprtlen from getdescr() as it is not available in 7.3. …
(edit) @122   17 years D'Arcy J.M. Cain I'm sending you a small patch to pgdb.py module. This raises …
(edit) @119   17 years momjian This patch implements FOR EACH STATEMENT triggers, per my email to …
(edit) @111   17 years momjian Small patch to correct the default arraysize associated with the …
(edit) @109   17 years tgl Remove the last traces of datatypes datetime and timespan.
(edit) @108   18 years momjian pgdb.connect() seems to be broken on Python 2.0.1 (which ships with …
(edit) @107   18 years momjian Back out python change, needs delay.
(edit) @106   18 years momjian Change docs to do 20! rather than larger.
(edit) @98   18 years momjian > I am backing out this patch. Please resubmit with this corrected. …
(edit) @97   18 years momjian Back out python patch: Elliot Lee wrote: > This patch to the python …
(edit) @96   18 years momjian This patch to the python bindings adds C versions of the often-used …
(edit) @63   18 years D'Arcy J.M. Cain Add bpchar to list of string types. Thanks to Steve McClure?
(edit) @50   19 years D'Arcy J.M. Cain I just noticed the beta comment. That's not actually true any more so …
(edit) @49   19 years D'Arcy J.M. Cain Marc-Andre is changing where DateTime? goes. This change allows the …
(edit) @48   19 years D'Arcy J.M. Cain Correct indenting in _quote() function. Fix submitted by Andrew …
(edit) @42   19 years D'Arcy J.M. Cain Fix parameter handling. Fix a bug where cs.execute('select %d + %d', …
(edit) @29   19 years momjian Update to PyGreSQL 3.1: Fix some quoting functions. In particular …
(add) @27   19 years momjian Update for PyGreSQL 3.0, from D'Arcy J.M. Cain
Note: See TracRevisionLog for help on using the revision log.