Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Fixed sql.Composed representation | Daniele Varrazzo | 2017-01-01 | 2 | -1/+7 | |
| | | ||||||
* | | Fixed sql stuff in Py3 | Daniele Varrazzo | 2017-01-01 | 3 | -17/+38 | |
| | | ||||||
* | | Added sql.compose() implementation | Daniele Varrazzo | 2017-01-01 | 2 | -9/+135 | |
| | | ||||||
* | | Added basic sql module implementation | Daniele Varrazzo | 2017-01-01 | 2 | -1/+396 | |
| | | ||||||
* | | Adding some boilerplate for the new module | Daniele Varrazzo | 2017-01-01 | 4 | -3/+65 | |
|/ | ||||||
* | Don't try to write bytes in the LoggingConnection file | Daniele Varrazzo | 2016-12-29 | 2 | -0/+4 | |
| | | | | Close #483 | |||||
* | Merge branch 'fast-codecs' | Daniele Varrazzo | 2016-12-29 | 18 | -176/+358 | |
|\ | ||||||
| * | Brag about encoding/decoding speedup | Daniele Varrazzo | 2016-12-29 | 1 | -0/+2 | |
| | | ||||||
| * | Use the proper API functions to look up codec functions | Daniele Varrazzo | 2016-12-29 | 2 | -11/+8 | |
| | | ||||||
| * | Don't look up for Python encoding | Daniele Varrazzo | 2016-12-29 | 14 | -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 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 | |
| |\ | ||||||
| * | | Optimize UTF8 and Latin1 decoding | Daniele Varrazzo | 2016-10-12 | 3 | -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 3 | Daniele Varrazzo | 2016-12-29 | 1 | -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 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 | |
| | | | |