Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove redundant parentheses | Hugo | 2017-11-28 | 1 | -1/+1 |
| | |||||
* | Update documentation to reflect JSON import behavior | Jon Dufresne | 2017-11-28 | 1 | -4/+2 |
| | | | | | | | | The docs don't need to describe what will happen on Python versions before 2.6 as they are unsupported by psycopg2. Should have been included in commit d58844e5483483240f97537e9a77b4e79cea2ab3, but was missed. | ||||
* | Clean up JSON workarounds for unsupported Python versions | Jon Dufresne | 2017-11-26 | 1 | -28/+4 |
| | | | | | | All Python versions supported by psycopg2 have the json module. It was added in Python 2.6. Can remove checks for availability, slightly simplifying the code. | ||||
* | Added Json.prepare()fix-562 | Daniele Varrazzo | 2017-06-16 | 1 | -1/+8 |
| | | | | Close #562 | ||||
* | Python source cleanup using flake8 | Daniele Varrazzo | 2016-10-11 | 1 | -6/+8 |
| | |||||
* | Python 3.1 bytes.decode() doesn't support keyword arguments | Daniele Varrazzo | 2015-02-08 | 1 | -1/+1 |
| | | | | Sucker. | ||||
* | Add register_default_jsonb() and register the type | Daniele Varrazzo | 2014-08-13 | 1 | -0/+16 |
| | |||||
* | Added name param to register_json() | Daniele Varrazzo | 2014-08-13 | 1 | -13/+15 |
| | |||||
* | Added str() for the Json adapter | Daniele Varrazzo | 2014-02-22 | 1 | -0/+8 |
| | | | | Fixes ticket #191. | ||||
* | Fixed json doc error | Daniele Varrazzo | 2012-09-25 | 1 | -1/+1 |
| | |||||
* | Json documentation improved | Daniele Varrazzo | 2012-09-24 | 1 | -52/+5 |
| | |||||
* | Don't create/register a json array typecaster if no oid provided | Daniele Varrazzo | 2012-09-24 | 1 | -1/+4 |
| | |||||
* | Pasto fixed | Daniele Varrazzo | 2012-09-20 | 1 | -1/+1 |
| | |||||
* | Fixed json typecaster with NULL input | Daniele Varrazzo | 2012-09-20 | 1 | -0/+2 |
| | |||||
* | Dropped keywords passthrough in Json adapter | Daniele Varrazzo | 2012-09-19 | 1 | -23/+55 |
| | | | | | | | | | 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 | 1 | -2/+19 |
| | | | | Register a typecaster for PostgreSQL 9.2 json. | ||||
* | First parameter of register_json defaults to None | Daniele Varrazzo | 2012-09-19 | 1 | -1/+1 |
| | |||||
* | Added json typecaster | Daniele Varrazzo | 2012-09-19 | 1 | -0/+187 |