aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/python/pgdb.py
Commit message (Collapse)AuthorAge
* Back out python patch:Bruce Momjian2002-03-05
| | | | | | | | Elliot Lee wrote: > This patch to the python bindings adds C versions of the often-used query > args quoting routines, as well as support for quoting lists e.g. > dbc.execute("SELECT * FROM foo WHERE blah IN %s", ([1,2,3],))
* This patch to the python bindings adds C versions of the often-usedBruce Momjian2002-03-05
| | | | | | | query args quoting routines, as well as support for quoting lists e.g. dbc.execute("SELECT * FROM foo WHERE blah IN %s", ([1,2,3],)) Elliot Lee
* Add bpchar to list of string types.D'Arcy J.M. Cain2001-06-15
| | | | Thanks to Steve McClure <smcclure@racemi.com> for the patch.
* I just noticed the beta comment. That's not actually true any moreD'Arcy J.M. Cain2001-04-12
| | | | so I removed it.
* Marc-Andre is changing where DateTime goes. This change allows the moduleD'Arcy J.M. Cain2001-03-30
| | | | | to work either way. Change submitted by Andrew Kuchling <akuchlin@mems-exchange.org>
* Correct indenting in _quote() function.D'Arcy J.M. Cain2001-03-30
| | | | Fix submitted by Andrew Kuchling <akuchlin@mems-exchange.org>
* Fix parameter handling.D'Arcy J.M. Cain2001-03-15
| | | | | Fix a bug where cs.execute('select %d + %d', (1, 2)) would get interpreted as cs.executemany('select %d + %d', (1, 2))
* Update to PyGreSQL 3.1:Bruce Momjian2000-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix some quoting functions. In particular handle NULLs better. Use a method to add primary key information rather than direct manipulation of the class structures. Break decimal out in _quote (in pg.py) and treat it as float. Treat timestamp like date for quoting purposes. Remove a redundant SELECT from the get method speeding it, and insert since it calls get, up a little. Add test for BOOL type in typecast method to pgdbTypeCache class. (tv@beamnet.de) Fix pgdb.py to send port as integer to lower level function (dildog@l0pht.com) Change pg.py to speed up some operations Allow updates on tables with no primary keys. D'Arcy J.M. Cain
* Update for PyGreSQL 3.0, from D'Arcy J.M. CainBruce Momjian2000-10-02