summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fixed sql.Composed representationDaniele Varrazzo2017-01-012-1/+7
| |
* | Fixed sql stuff in Py3Daniele Varrazzo2017-01-013-17/+38
| |
* | Added sql.compose() implementationDaniele Varrazzo2017-01-012-9/+135
| |
* | Added basic sql module implementationDaniele Varrazzo2017-01-012-1/+396
| |
* | Adding some boilerplate for the new moduleDaniele Varrazzo2017-01-014-3/+65
|/
* Don't try to write bytes in the LoggingConnection fileDaniele Varrazzo2016-12-292-0/+4
| | | | Close #483
* Merge branch 'fast-codecs'Daniele Varrazzo2016-12-2918-176/+358
|\
| * Brag about encoding/decoding speedupDaniele Varrazzo2016-12-291-0/+2
| |
| * Use the proper API functions to look up codec functionsDaniele Varrazzo2016-12-292-11/+8
| |
| * Don't look up for Python encodingDaniele Varrazzo2016-12-2914-160/+231
| | | | | | | | | | | | 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
| |\
| * | Optimize UTF8 and Latin1 decodingDaniele Varrazzo2016-10-123-3/+40
| | | | | | | | | | | | | | | Cache a pointer to a fast decoding function when the connection encoding is set so skip a repeated codec lookup for every string.
* | | Don't set tp_compare on Python 3Daniele Varrazzo2016-12-291-0/+4
| |/ |/| | | | | The slot is unused in Py < 3.5, and replaced by pg_as_async in Py 3.5.
* | 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
| | | |