Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the proper API functions to look up codec functionsfast-codecs | Daniele Varrazzo | 2016-12-29 | 2 | -11/+8 |
| | |||||
* | Brag about encoding/decoding speedup | Daniele Varrazzo | 2016-12-29 | 1 | -0/+2 |
| | |||||
* | Don't look up for Python encoding | Daniele Varrazzo | 2016-12-29 | 14 | -160/+269 |
| | | | | | | Store the encode/decode functions for the right codec in the connection. The Python encoding name has been dropped of the connection to avoid the temptation to use it... | ||||
* | Use -1 instead of 0 to say "calculate the length" in many funcs | Daniele Varrazzo | 2016-12-27 | 7 | -24/+22 |
| | | | | 0 is a valid length, isn't it? | ||||
* | Store python encoding and decoding functions in the connection | Daniele Varrazzo | 2016-12-27 | 3 | -4/+76 |
| | | | | Unused for now: will be used instead of 'pyenc', which is to be dropped. | ||||
* | Setting connection encoding refactored | Daniele Varrazzo | 2016-12-26 | 1 | -51/+56 |
| | | | | | | Code paths to read encoding on connection and to store the new connection in the structure after changing it in the backend unified into a single function. | ||||
* | conn->codec rename to pyenc | Daniele Varrazzo | 2016-12-26 | 14 | -67/+67 |
| | |||||
* | Merge branch 'master' into fast-codecs | Daniele Varrazzo | 2016-12-26 | 24 | -120/+444 |
|\ | |||||
| * | Merge branch 'named-callproc' | Daniele Varrazzo | 2016-12-26 | 7 | -31/+187 |
| |\ | |||||
| | * | Fixed refcount problems in named callprocnamed-callproc | Daniele Varrazzo | 2016-12-26 | 1 | -1/+2 |
| | | | |||||
| | * | Mention named callproc in news, fixed docs. | Daniele Varrazzo | 2016-12-26 | 2 | -2/+4 |
| | | | |||||
| | * | Merge branch 'master' into named-callproc | Daniele Varrazzo | 2016-12-26 | 5 | -70/+43 |
| | |\ | |||||
| | * \ | Merge branch 'master' into named-callproc | Daniele Varrazzo | 2016-12-26 | 87 | -889/+4266 |
| | |\ \ | |||||
| | * | | | Return input tuple in cur.callproc, factor code to use PQescapeIdentifier in ↵ | mrmilosz | 2015-12-13 | 4 | -44/+42 |
| | | | | | | | | | | | | | | | | | | | | single place | ||||
| | * | | | Correctly handle an empty error message from PQescapeIdentifier | Daniele Varrazzo | 2015-12-12 | 1 | -1/+2 |
| | | | | | |||||
| | * | | | Set an exception in case of PQescapeIdentifier error | Daniele Varrazzo | 2015-12-12 | 1 | -13/+30 |
| | | | | | | | | | | | | | | | | | | | | Ifdeffed surface reduced. | ||||
| | * | | | Fixed callproc return value refcount | Daniele Varrazzo | 2015-12-12 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | Temporary anyway: I want to go back returning a list (or dict). | ||||
| | * | | | More straightforward param refcount handling in callproc | Daniele Varrazzo | 2015-12-12 | 1 | -11/+10 |
| | | | | | |||||
| | * | | | Added test with objects without length as callproc param | Daniele Varrazzo | 2015-12-12 | 1 | -0/+5 |
| | | | | | |||||
| | * | | | Raise TypeError if the dict in callproc param contains non-strings | Daniele Varrazzo | 2015-12-12 | 2 | -27/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Check-and-conversion chain fixed and simplified. 'spname' was a reference leak. | ||||
| | * | | | Added guard on params with no length on callproc | Daniele Varrazzo | 2015-12-12 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Avoid clobbering the exceptions raised by other calls | Daniele Varrazzo | 2015-12-12 | 1 | -14/+0 |
| | | | | | |||||
| | * | | | callproc: tests, docs, and comment/error-reporting touchups. | mrmilosz | 2015-12-12 | 4 | -17/+96 |
| | | | | | |||||
| | * | | | callproc: checking for libpq 9.0+ on compile. yes: use PQescapeIdentifier. ↵ | mrmilosz | 2015-12-12 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | no: error | ||||
| | * | | | callproc: now more compliant with local coding standards. | mrmilosz | 2015-12-12 | 1 | -85/+97 |
| | | | | | |||||
| | * | | | cursor.callproc: added a missing memory check | mrmilosz | 2015-12-12 | 1 | -0/+7 |
| | | | | | |||||
| | * | | | callproc using a dict now uses connection encoding and sanitizes parameter names | mrmilosz | 2015-12-12 | 2 | -13/+46 |
| | | | | | |||||
| | * | | | callproc using a dict now has a type check to make sure the keys are strings. | mrmilosz | 2015-12-12 | 1 | -1/+7 |
| | | | | | |||||
| | * | | | cursor.callproc now also accepts dict for PostgreSQL 9+ "named notation" | mrmilosz | 2015-12-12 | 2 | -10/+46 |
| | | | | | |||||
| * | | | | Fixed travis test: unset green mode | Daniele Varrazzo | 2016-12-26 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Less verbose travis tests | Daniele Varrazzo | 2016-12-26 | 1 | -2/+2 |
| | |_|/ | |/| | | |||||
| * | | | Dropped internal escape identifier function | Daniele Varrazzo | 2016-12-26 | 4 | -45/+47 |
| | |/ | |/| | | | | | | | Using libpq one as now it's guaranteed to be present. | ||||
| * | | Fixed REst error in newsfile | Daniele Varrazzo | 2016-12-25 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed intersphinx links to Pyton docs | Daniele Varrazzo | 2016-12-25 | 1 | -2/+2 |
| | | | |||||
| * | | fix wait_select sample to be `extras` not `extensions` | Luke Nezda | 2016-12-25 | 1 | -1/+1 |
| | | | |||||
| * | | Fix "invalid escape sequence" warning in Python 3.6 | Tim Graham | 2016-12-25 | 1 | -1/+1 |
| | | | | | | | | | | | | http://bugs.python.org/issue27364 | ||||
| * | | Merge branch 'fix-453' | Daniele Varrazzo | 2016-12-25 | 2 | -9/+13 |
| |\ \ | |||||
| | * | | Added empty options in setup.cfg | Daniele Varrazzo | 2016-12-25 | 2 | -9/+13 |
| |/ / | | | | | | | | | | Setuptools removes them from the sdist, see #453 | ||||
| * | | Merge branch 'dont_set_datestyle_in_replication_mode' | Daniele Varrazzo | 2016-12-25 | 5 | -17/+91 |
| |\ \ | |||||
| | * | | Skip replication tests in green mode | Daniele Varrazzo | 2016-12-25 | 1 | -3/+8 |
| | | | | |||||
| | * | | Configure Travis to test replication | Daniele Varrazzo | 2016-12-25 | 2 | -3/+22 |
| | | | | |||||
| | * | | Added test to verify bug #482 | Daniele Varrazzo | 2016-12-25 | 2 | -3/+25 |
| | | | | |||||
| | * | | Avoid deadlock on close if set datestyle failed | Daniele Varrazzo | 2016-12-25 | 1 | -5/+11 |
| | | | | |||||
| | * | | Dropped testing print | Daniele Varrazzo | 2016-12-25 | 1 | -1/+0 |
| | | | | |||||
| | * | | Merge branch 'master' into dont_set_datestyle_in_replication_mode | Daniele Varrazzo | 2016-12-25 | 9 | -16/+104 |
| | |\ \ | | |/ / | |/| | | |||||
| * | | | Merge branch 'travis' | Daniele Varrazzo | 2016-12-24 | 9 | -16/+104 |
| |\ \ \ | |||||
| | * | | | Don't use separate databases for tests | Daniele Varrazzo | 2016-12-24 | 3 | -18/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | I got this wrong: I thought parallel test ran in the same VM; they are isolated instead. | ||||
| | * | | | Added build badge to readme | Daniele Varrazzo | 2016-12-24 | 1 | -0/+5 |
| | | | | | |||||
| | * | | | Test Python versions in a more relevant order | Daniele Varrazzo | 2016-12-24 | 1 | -5/+5 |
| | | | | | |||||
| | * | | | Run the tests against all the available server versions | Daniele Varrazzo | 2016-12-24 | 3 | -11/+87 |
| | | | | |