summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Merge branch 'json' into develDaniele Varrazzo2012-09-276-4/+549
| |\ \ \
| | * | | Mention JSON adaptation in the NEWS fileDaniele Varrazzo2012-09-271-0/+1
| | | | |
| | * | | Fixed json doc errorDaniele Varrazzo2012-09-251-1/+1
| | | | |
| | * | | Json documentation improvedDaniele Varrazzo2012-09-242-61/+70
| | | | |
| | * | | Don't create/register a json array typecaster if no oid providedDaniele Varrazzo2012-09-242-1/+16
| | | | |
| | * | | Pasto fixedDaniele Varrazzo2012-09-201-1/+1
| | | | |
| | * | | Fixed json typecaster with NULL inputDaniele Varrazzo2012-09-202-0/+12
| | | | |
| | * | | Dropped keywords passthrough in Json adapterDaniele Varrazzo2012-09-193-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() functionDaniele Varrazzo2012-09-195-9/+43
| | | | | | | | | | | | | | | | | | | | Register a typecaster for PostgreSQL 9.2 json.
| | * | | First parameter of register_json defaults to NoneDaniele Varrazzo2012-09-192-2/+2
| | | | |
| | * | | Added json typecasterDaniele Varrazzo2012-09-195-55/+301
| | | | |
| | * | | Added Json adapterDaniele Varrazzo2012-09-193-4/+161
| | | | |
| * | | | Merge branch 'composite-custom' into develDaniele Varrazzo2012-09-274-42/+127
| |\ \ \ \
| | * | | | Added schema attribute to CompositeCasterDaniele Varrazzo2012-09-223-2/+11
| | | | | |
| | * | | | Info about versions history moved from code to docsDaniele Varrazzo2012-09-222-6/+6
| | | | | |
| | * | | | Added documentation about CompositeCaster subclassingDaniele Varrazzo2012-09-223-28/+67
| | | | | |
| | * | | | Make CompositeCaster easier to subclassDaniele Varrazzo2012-09-222-8/+45
| | | | | |
| * | | | | Merge remote-tracking branch 'github/connect-keywords' into develDaniele Varrazzo2012-09-263-31/+40
| |\ \ \ \ \
| | * | | | | Raise TypeError instead of InterfaceError on bad params on connect()Daniele Varrazzo2012-09-262-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 dnsDaniele Varrazzo2012-09-261-3/+2
| | | | | | |
| | * | | | | Dropped quirks in connection arguments handlingDaniele Varrazzo2012-09-253-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 Varrazzo2012-09-241-5/+6
| |/ / / / /
| * | | | | Info about hstore versions history moved from code to docsDaniele Varrazzo2012-09-222-10/+9
| |/ / / /
| * | | | errorcodes map updated to PostgreSQL 9.2Daniele Varrazzo2012-09-213-1/+10
| | |_|/ | |/| |
| * | | Use namedtuple._make in NamedTupleCursor and CompositeCasterDaniele Varrazzo2012-09-201-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 develDaniele Varrazzo2012-09-202-4/+19
| |\ \ | | |/ | |/|
| | * Fixed infinite loop when parsing '{' as arrayDaniele Varrazzo2012-09-202-1/+5
| | |
| | * Fixed return value after malformed arraysDaniele Varrazzo2012-09-202-3/+14
| | |
| | * Fixed always true comparaisonFederico Di Gregorio2012-08-171-2/+2
| | |
| * | Fixed note on rollback on close in the docDaniele Varrazzo2012-09-181-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 docsDaniele Varrazzo2012-09-181-2/+2
| | |
| * | Fixed tests to run with PG 8.3Daniele Varrazzo2012-09-041-4/+4
| |/
| * Merge branch 'scrollable' into develDaniele Varrazzo2012-08-158-46/+235
| |\
| | * Added documentation for scrollable cursorsDaniele Varrazzo2012-08-154-17/+56
| | |
| | * Added support with cursors without scroll clauseDaniele Varrazzo2012-08-154-44/+104
| | | | | | | | | | | | | | | Using nothing is different from NO SCROLL, see DECLARE notes in PG docs.
| | * Added test for scrollable cursorDaniele Varrazzo2012-08-151-0/+39
| | |
| | * Added scrollable cursor implementationDaniele Varrazzo2012-08-153-8/+59
| |/ | | | | | | Patch provided by Jon Nelson (ticket #108).
| * Fixed tpc_recover() with RealDictStuffDaniele Varrazzo2012-08-143-6/+24
| | | | | | | | Same problem and correction of ticket #114.
| * Fixed register_hstore and register_composite with non-dbapi objectsDaniele Varrazzo2012-08-143-12/+64
| | | | | | | | Closed ticket #114.
| * Fixed incorrect and outdated connection.commit() docDaniele Varrazzo2012-07-271-6/+12
| |
| * grammarBrian Sutherland2012-07-271-4/+4
| |
| * Fixed typo in docsDaniele Varrazzo2012-07-081-1/+1
| | | | | | | | Ticket #115 closed.
| * connection.reset() implemented using DISCARD ALLDaniele Varrazzo2012-06-252-5/+13
| |
| * Merge remote-tracking branch 'msabramo/travis' into develFederico Di Gregorio2012-06-181-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 Abramowitz2012-06-151-0/+13
| | |
| * | Merge remote-tracking branch 'msabramo/tox' into develFederico Di Gregorio2012-06-182-0/+15
| |\ \ | | | | | | | | | | | | | | | | Tox (http://tox.testrun.org/) is a nice tool for testing a package against multiple Python distributions.
| | * | Add .tox to .gitignoreMarc Abramowitz2012-06-151-0/+1
| | | |
| | * | Add tox.ini for tox (http://tox.testrun.org/)Marc Abramowitz2012-06-151-0/+14
| | |/
| * | Added %% use to the docsDaniele Varrazzo2012-05-291-0/+3
| | |
| * | Fixed cursor name as unicode string on Python 3Daniele Varrazzo2012-05-271-0/+7
| | |