Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Merge branch 'json' into devel | Daniele Varrazzo | 2012-09-27 | 6 | -4/+549 | |
| |\ \ \ | ||||||
| | * | | | Mention JSON adaptation in the NEWS file | Daniele Varrazzo | 2012-09-27 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | Fixed json doc error | Daniele Varrazzo | 2012-09-25 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Json documentation improved | Daniele Varrazzo | 2012-09-24 | 2 | -61/+70 | |
| | | | | | ||||||
| | * | | | Don't create/register a json array typecaster if no oid provided | Daniele Varrazzo | 2012-09-24 | 2 | -1/+16 | |
| | | | | | ||||||
| | * | | | Pasto fixed | Daniele Varrazzo | 2012-09-20 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Fixed json typecaster with NULL input | Daniele Varrazzo | 2012-09-20 | 2 | -0/+12 | |
| | | | | | ||||||
| | * | | | Dropped keywords passthrough in Json adapter | Daniele Varrazzo | 2012-09-19 | 3 | -30/+100 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass a dumps function instead. Allow customizing by either arg passing or subclassing. The basic Json class now raises ImportError on getquoted() if json is not available, thus allowing using a customized Json subclass even when the json module is not available. | |||||
| | * | | | Added register_default_json() function | Daniele Varrazzo | 2012-09-19 | 5 | -9/+43 | |
| | | | | | | | | | | | | | | | | | | | | Register a typecaster for PostgreSQL 9.2 json. | |||||
| | * | | | First parameter of register_json defaults to None | Daniele Varrazzo | 2012-09-19 | 2 | -2/+2 | |
| | | | | | ||||||
| | * | | | Added json typecaster | Daniele Varrazzo | 2012-09-19 | 5 | -55/+301 | |
| | | | | | ||||||
| | * | | | Added Json adapter | Daniele Varrazzo | 2012-09-19 | 3 | -4/+161 | |
| | | | | | ||||||
| * | | | | Merge branch 'composite-custom' into devel | Daniele Varrazzo | 2012-09-27 | 4 | -42/+127 | |
| |\ \ \ \ | ||||||
| | * | | | | Added schema attribute to CompositeCaster | Daniele Varrazzo | 2012-09-22 | 3 | -2/+11 | |
| | | | | | | ||||||
| | * | | | | Info about versions history moved from code to docs | Daniele Varrazzo | 2012-09-22 | 2 | -6/+6 | |
| | | | | | | ||||||
| | * | | | | Added documentation about CompositeCaster subclassing | Daniele Varrazzo | 2012-09-22 | 3 | -28/+67 | |
| | | | | | | ||||||
| | * | | | | Make CompositeCaster easier to subclass | Daniele Varrazzo | 2012-09-22 | 2 | -8/+45 | |
| | | | | | | ||||||
| * | | | | | Merge remote-tracking branch 'github/connect-keywords' into devel | Daniele Varrazzo | 2012-09-26 | 3 | -31/+40 | |
| |\ \ \ \ \ | ||||||
| | * | | | | | Raise TypeError instead of InterfaceError on bad params on connect() | Daniele Varrazzo | 2012-09-26 | 2 | -8/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TypeError is the standard Python error raised in this case: $ python -c "(lambda a: None)(b=10)" TypeError: <lambda>() got an unexpected keyword argument 'b' We only used to raise InterfaceError when connect was used without any parameter at all, so it's hard to think a program depending on that design. Furthermore the function has always raised (and still does) OperationalError too, if the bad argument is detected by the libpq, and that cannot be changed because we can't tell the difference from a normal connection error. | |||||
| | * | | | | | Improved error message on connect when kwargs are passed together with dns | Daniele Varrazzo | 2012-09-26 | 1 | -3/+2 | |
| | | | | | | | ||||||
| | * | | | | | Dropped quirks in connection arguments handling | Daniele Varrazzo | 2012-09-25 | 3 | -26/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now connect() raises an exception instead of swallowing keyword arguments when a connection string is specified as well Closes ticket #131. | |||||
| * | | | | | | Fixed SQL_IN when getquoted() is called without prepare() | Daniele Varrazzo | 2012-09-24 | 1 | -5/+6 | |
| |/ / / / / | ||||||
| * | | | | | Info about hstore versions history moved from code to docs | Daniele Varrazzo | 2012-09-22 | 2 | -10/+9 | |
| |/ / / / | ||||||
| * | | | | errorcodes map updated to PostgreSQL 9.2 | Daniele Varrazzo | 2012-09-21 | 3 | -1/+10 | |
| | |_|/ | |/| | | ||||||
| * | | | Use namedtuple._make in NamedTupleCursor and CompositeCaster | Daniele Varrazzo | 2012-09-20 | 1 | -10/+9 | |
| | |/ | |/| | | | | | | | | | | | | | Makes things more natural as _make has the same signature of the tuple (see _ctor in CompositeCaster) and is probably more efficient with less intermediate sequences to build. | |||||
| * | | Merge branch 'fix-array-parsing' into devel | Daniele Varrazzo | 2012-09-20 | 2 | -4/+19 | |
| |\ \ | | |/ | |/| | ||||||
| | * | Fixed infinite loop when parsing '{' as array | Daniele Varrazzo | 2012-09-20 | 2 | -1/+5 | |
| | | | ||||||
| | * | Fixed return value after malformed arrays | Daniele Varrazzo | 2012-09-20 | 2 | -3/+14 | |
| | | | ||||||
| | * | Fixed always true comparaison | Federico Di Gregorio | 2012-08-17 | 1 | -2/+2 | |
| | | | ||||||
| * | | Fixed note on rollback on close in the doc | Daniele Varrazzo | 2012-09-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | It's not like we call "rollback()": we close the connection and the backend rolls back on its own. It may have differences, e.g. conn poolers. | |||||
| * | | Fixed smell of pizza in the docs | Daniele Varrazzo | 2012-09-18 | 1 | -2/+2 | |
| | | | ||||||
| * | | Fixed tests to run with PG 8.3 | Daniele Varrazzo | 2012-09-04 | 1 | -4/+4 | |
| |/ | ||||||
| * | Merge branch 'scrollable' into devel | Daniele Varrazzo | 2012-08-15 | 8 | -46/+235 | |
| |\ | ||||||
| | * | Added documentation for scrollable cursors | Daniele Varrazzo | 2012-08-15 | 4 | -17/+56 | |
| | | | ||||||
| | * | Added support with cursors without scroll clause | Daniele Varrazzo | 2012-08-15 | 4 | -44/+104 | |
| | | | | | | | | | | | | | | | Using nothing is different from NO SCROLL, see DECLARE notes in PG docs. | |||||
| | * | Added test for scrollable cursor | Daniele Varrazzo | 2012-08-15 | 1 | -0/+39 | |
| | | | ||||||
| | * | Added scrollable cursor implementation | Daniele Varrazzo | 2012-08-15 | 3 | -8/+59 | |
| |/ | | | | | | | Patch provided by Jon Nelson (ticket #108). | |||||
| * | Fixed tpc_recover() with RealDictStuff | Daniele Varrazzo | 2012-08-14 | 3 | -6/+24 | |
| | | | | | | | | Same problem and correction of ticket #114. | |||||
| * | Fixed register_hstore and register_composite with non-dbapi objects | Daniele Varrazzo | 2012-08-14 | 3 | -12/+64 | |
| | | | | | | | | Closed ticket #114. | |||||
| * | Fixed incorrect and outdated connection.commit() doc | Daniele Varrazzo | 2012-07-27 | 1 | -6/+12 | |
| | | ||||||
| * | grammar | Brian Sutherland | 2012-07-27 | 1 | -4/+4 | |
| | | ||||||
| * | Fixed typo in docs | Daniele Varrazzo | 2012-07-08 | 1 | -1/+1 | |
| | | | | | | | | Ticket #115 closed. | |||||
| * | connection.reset() implemented using DISCARD ALL | Daniele Varrazzo | 2012-06-25 | 2 | -5/+13 | |
| | | ||||||
| * | Merge remote-tracking branch 'msabramo/travis' into devel | Federico Di Gregorio | 2012-06-18 | 1 | -0/+13 | |
| |\ | | | | | | | | | | | | | Travis CI (http://travis-ci.org/) is a hosted CI system "in the cloud". | |||||
| | * | Add .travis.yml for Travis CI (http://travis-ci.org/) | Marc Abramowitz | 2012-06-15 | 1 | -0/+13 | |
| | | | ||||||
| * | | Merge remote-tracking branch 'msabramo/tox' into devel | Federico Di Gregorio | 2012-06-18 | 2 | -0/+15 | |
| |\ \ | | | | | | | | | | | | | | | | | Tox (http://tox.testrun.org/) is a nice tool for testing a package against multiple Python distributions. | |||||
| | * | | Add .tox to .gitignore | Marc Abramowitz | 2012-06-15 | 1 | -0/+1 | |
| | | | | ||||||
| | * | | Add tox.ini for tox (http://tox.testrun.org/) | Marc Abramowitz | 2012-06-15 | 1 | -0/+14 | |
| | |/ | ||||||
| * | | Added %% use to the docs | Daniele Varrazzo | 2012-05-29 | 1 | -0/+3 | |
| | | | ||||||
| * | | Fixed cursor name as unicode string on Python 3 | Daniele Varrazzo | 2012-05-27 | 1 | -0/+7 | |
| | | |