summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use the proper API functions to look up codec functionsfast-codecsDaniele Varrazzo2016-12-292-11/+8
|
* Brag about encoding/decoding speedupDaniele Varrazzo2016-12-291-0/+2
|
* Don't look up for Python encodingDaniele Varrazzo2016-12-2914-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 funcsDaniele Varrazzo2016-12-277-24/+22
| | | | 0 is a valid length, isn't it?
* Store python encoding and decoding functions in the connectionDaniele Varrazzo2016-12-273-4/+76
| | | | Unused for now: will be used instead of 'pyenc', which is to be dropped.
* Setting connection encoding refactoredDaniele Varrazzo2016-12-261-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 pyencDaniele Varrazzo2016-12-2614-67/+67
|
* Merge branch 'master' into fast-codecsDaniele Varrazzo2016-12-2624-120/+444
|\
| * Merge branch 'named-callproc'Daniele Varrazzo2016-12-267-31/+187
| |\
| | * Fixed refcount problems in named callprocnamed-callprocDaniele Varrazzo2016-12-261-1/+2
| | |
| | * Mention named callproc in news, fixed docs.Daniele Varrazzo2016-12-262-2/+4
| | |
| | * Merge branch 'master' into named-callprocDaniele Varrazzo2016-12-265-70/+43
| | |\
| | * \ Merge branch 'master' into named-callprocDaniele Varrazzo2016-12-2687-889/+4266
| | |\ \
| | * | | Return input tuple in cur.callproc, factor code to use PQescapeIdentifier in ↵mrmilosz2015-12-134-44/+42
| | | | | | | | | | | | | | | | | | | | single place
| | * | | Correctly handle an empty error message from PQescapeIdentifierDaniele Varrazzo2015-12-121-1/+2
| | | | |
| | * | | Set an exception in case of PQescapeIdentifier errorDaniele Varrazzo2015-12-121-13/+30
| | | | | | | | | | | | | | | | | | | | Ifdeffed surface reduced.
| | * | | Fixed callproc return value refcountDaniele Varrazzo2015-12-121-2/+3
| | | | | | | | | | | | | | | | | | | | Temporary anyway: I want to go back returning a list (or dict).
| | * | | More straightforward param refcount handling in callprocDaniele Varrazzo2015-12-121-11/+10
| | | | |
| | * | | Added test with objects without length as callproc paramDaniele Varrazzo2015-12-121-0/+5
| | | | |
| | * | | Raise TypeError if the dict in callproc param contains non-stringsDaniele Varrazzo2015-12-122-27/+13
| | | | | | | | | | | | | | | | | | | | | | | | | Check-and-conversion chain fixed and simplified. 'spname' was a reference leak.
| | * | | Added guard on params with no length on callprocDaniele Varrazzo2015-12-121-1/+1
| | | | |
| | * | | Avoid clobbering the exceptions raised by other callsDaniele Varrazzo2015-12-121-14/+0
| | | | |
| | * | | callproc: tests, docs, and comment/error-reporting touchups.mrmilosz2015-12-124-17/+96
| | | | |
| | * | | callproc: checking for libpq 9.0+ on compile. yes: use PQescapeIdentifier. ↵mrmilosz2015-12-121-0/+10
| | | | | | | | | | | | | | | | | | | | no: error
| | * | | callproc: now more compliant with local coding standards.mrmilosz2015-12-121-85/+97
| | | | |
| | * | | cursor.callproc: added a missing memory checkmrmilosz2015-12-121-0/+7
| | | | |
| | * | | callproc using a dict now uses connection encoding and sanitizes parameter namesmrmilosz2015-12-122-13/+46
| | | | |
| | * | | callproc using a dict now has a type check to make sure the keys are strings.mrmilosz2015-12-121-1/+7
| | | | |
| | * | | cursor.callproc now also accepts dict for PostgreSQL 9+ "named notation"mrmilosz2015-12-122-10/+46
| | | | |
| * | | | Fixed travis test: unset green modeDaniele Varrazzo2016-12-261-1/+1
| | | | |
| * | | | Less verbose travis testsDaniele Varrazzo2016-12-261-2/+2
| | |_|/ | |/| |
| * | | Dropped internal escape identifier functionDaniele Varrazzo2016-12-264-45/+47
| | |/ | |/| | | | | | | Using libpq one as now it's guaranteed to be present.
| * | Fixed REst error in newsfileDaniele Varrazzo2016-12-251-1/+1
| | |
| * | Fixed intersphinx links to Pyton docsDaniele Varrazzo2016-12-251-2/+2
| | |
| * | fix wait_select sample to be `extras` not `extensions`Luke Nezda2016-12-251-1/+1
| | |
| * | Fix "invalid escape sequence" warning in Python 3.6Tim Graham2016-12-251-1/+1
| | | | | | | | | | | | http://bugs.python.org/issue27364
| * | Merge branch 'fix-453'Daniele Varrazzo2016-12-252-9/+13
| |\ \
| | * | Added empty options in setup.cfgDaniele Varrazzo2016-12-252-9/+13
| |/ / | | | | | | | | | Setuptools removes them from the sdist, see #453
| * | Merge branch 'dont_set_datestyle_in_replication_mode'Daniele Varrazzo2016-12-255-17/+91
| |\ \
| | * | Skip replication tests in green modeDaniele Varrazzo2016-12-251-3/+8
| | | |
| | * | Configure Travis to test replicationDaniele Varrazzo2016-12-252-3/+22
| | | |
| | * | Added test to verify bug #482Daniele Varrazzo2016-12-252-3/+25
| | | |
| | * | Avoid deadlock on close if set datestyle failedDaniele Varrazzo2016-12-251-5/+11
| | | |
| | * | Dropped testing printDaniele Varrazzo2016-12-251-1/+0
| | | |
| | * | Merge branch 'master' into dont_set_datestyle_in_replication_modeDaniele Varrazzo2016-12-259-16/+104
| | |\ \ | | |/ / | |/| |
| * | | Merge branch 'travis'Daniele Varrazzo2016-12-249-16/+104
| |\ \ \
| | * | | Don't use separate databases for testsDaniele Varrazzo2016-12-243-18/+8
| | | | | | | | | | | | | | | | | | | | | | | | | I got this wrong: I thought parallel test ran in the same VM; they are isolated instead.
| | * | | Added build badge to readmeDaniele Varrazzo2016-12-241-0/+5
| | | | |
| | * | | Test Python versions in a more relevant orderDaniele Varrazzo2016-12-241-5/+5
| | | | |
| | * | | Run the tests against all the available server versionsDaniele Varrazzo2016-12-243-11/+87
| | | | |