Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Explicit the fact that closed connections have undefined status | Daniele Varrazzo | 2014-04-03 | 1 | -0/+2 | |
| | ||||||
* | Fixed dsn and closed attributes in failing connection subclasses. | Daniele Varrazzo | 2014-04-03 | 4 | -4/+27 | |
| | | | | From ticket #192 discussion. | |||||
* | Fixed DNS typo in examples | Erwin de Keijzer | 2014-03-24 | 15 | -15/+15 | |
| | ||||||
* | Don't segfault on uninitialized cursor | Daniele Varrazzo | 2014-02-26 | 3 | -3/+22 | |
| | | | | | | | It can happen with bad cursor subclasses not calling super's init. Raise an exception instead of segfaulting. Closes #195 | |||||
* | Use the do-while 0 idiom for cursor guards macro | Daniele Varrazzo | 2014-02-26 | 2 | -19/+30 | |
| | ||||||
* | Merge branch 'ticket-194' | Daniele Varrazzo | 2014-02-24 | 2 | -9/+10 | |
|\ | ||||||
| * | Bug #194 confirmed fixed: newsfile updated. | Daniele Varrazzo | 2014-02-24 | 1 | -0/+2 | |
| | | ||||||
| * | Set the connection async before polling for connection | Daniele Varrazzo | 2014-02-24 | 1 | -5/+5 | |
| | | | | | | | | It should fix ticket #194 | |||||
| * | Set the connection async earlier in green mode | Daniele Varrazzo | 2014-02-24 | 1 | -4/+3 | |
|/ | | | | | | The moment it is called shouldn't have really changed, but it's more explicit when it happens. Previously it was sort of obfuscated behind a roundtrip through the green callback and poll. | |||||
* | Merge branch 'range_sort' | Daniele Varrazzo | 2014-02-22 | 5 | -11/+125 | |
|\ | ||||||
| * | Mention Range order in the news file | Daniele Varrazzo | 2014-02-22 | 1 | -0/+2 | |
| | | ||||||
| * | Docs wordsmithing about Range order | Daniele Varrazzo | 2014-02-22 | 1 | -5/+8 | |
| | | ||||||
| * | Hardcode the list of attributes to be used in comparison | Daniele Varrazzo | 2014-02-22 | 1 | -1/+1 | |
| | | | | | | | | Comparing Range subclasses may lead to surprises. | |||||
| * | Added implementation for Range gt and ge operators | Daniele Varrazzo | 2014-02-22 | 1 | -13/+15 | |
| | | | | | | | | | | Using a common implementation for all the operators. Note that lt is the one used by sort so it's nice it's the fastest. | |||||
| * | documentation changes now that Range objects can be ordered | Chris Withers | 2014-02-18 | 1 | -1/+6 | |
| | | ||||||
| * | New implementation of Range sorting that works for Python 2.5 to 3.3, at least. | Chris Withers | 2014-02-18 | 3 | -14/+54 | |
| | | ||||||
| * | Coding style changes. | Chris Withers | 2014-02-14 | 1 | -51/+51 | |
| | | ||||||
| * | Provide a stable and consistent sort order for Range objects. | Chris Withers | 2014-02-12 | 2 | -9/+71 | |
| | | | | | | | | This matches postgres server-side behaviour and helps client applications that need to sort based on the primary key of tables where the primary key is or contains a range. | |||||
* | | Fixed error message on range parsing failed | Daniele Varrazzo | 2014-02-22 | 1 | -1/+1 | |
| | | ||||||
* | | Added str() for the Json adapter | Daniele Varrazzo | 2014-02-22 | 3 | -0/+28 | |
|/ | | | | Fixes ticket #191. | |||||
* | Merge branch 'outputres' | Daniele Varrazzo | 2014-01-14 | 2 | -3/+12 | |
|\ | ||||||
| * | Mention outputres fix in NEWS file | Daniele Varrazzo | 2014-01-14 | 1 | -0/+6 | |
| | | ||||||
| * | Fallback when get_ext_fullpath() is unavailable | James Emerton | 2014-01-10 | 1 | -1/+5 | |
| | | ||||||
| * | Use get_ext_fullpath() for -outputresource | James Emerton | 2014-01-10 | 1 | -3/+2 | |
| | | | | | | The manifest fixup was relying on the extension name being "_psycopg.pyd" which effectively prevents building with --debug as the extension name becomes "_psycopg_d.pyd" in this instance. | |||||
* | | Added doc notes about how to avoid JSON parsing | Daniele Varrazzo | 2014-01-14 | 2 | -1/+27 | |
|/ | | | | | Added FAQ too as it has bitten more than one user (see tickets #172, #190). | |||||
* | Fixed dealloc of lobject->smode | Daniele Varrazzo | 2013-11-27 | 1 | -1/+1 | |
| | | | | | I put it by mistake into the in the self->conn checked block in the previous commit. | |||||
* | Check connection type in lobject init | Daniele Varrazzo | 2013-11-27 | 3 | -7/+16 | |
| | | | | Fixes ticket #187. | |||||
* | Typo fixes and improvements to new_array_type() docs | Daniele Varrazzo | 2013-10-21 | 1 | -6/+7 | |
| | ||||||
* | Use bytestrings in infinite dates adapter example | Daniele Varrazzo | 2013-10-21 | 1 | -2/+2 | |
| | | | | Returning strings would result in unclear tracebacks on Py3 (see ticket #163). | |||||
* | Really test named cursors in test_scroll_named() | Daniele Varrazzo | 2013-10-16 | 1 | -3/+1 | |
| | ||||||
* | Document that named cursors don't raise an exception going out-of-bound | Daniele Varrazzo | 2013-10-16 | 1 | -4/+7 | |
| | | | | See issue #174 for the details. | |||||
* | Document that using %, (, ) in the placeholder name is not supported | Daniele Varrazzo | 2013-10-16 | 1 | -1/+2 | |
| | ||||||
* | Meaningful connection errors report a meaningful message | Daniele Varrazzo | 2013-10-16 | 3 | -1/+18 | |
| | | | | Fixes issue #173. | |||||
* | Fixed pickling of exceptions with no pgerror/pgcode set | Daniele Varrazzo | 2013-07-19 | 3 | -2/+32 | |
| | | | | Fixes ticket #170. | |||||
* | Fixed titles in newsfile | Daniele Varrazzo | 2013-07-19 | 1 | -1/+4 | |
| | | | | | The first title at the same level of the main releases helps getting a more regular ToC in the docs main page. | |||||
* | Fixed doc index entry for infinite dates | Daniele Varrazzo | 2013-06-23 | 1 | -1/+1 | |
| | ||||||
* | Untrack the connection before closing to avoid possible double-free | Daniele Varrazzo | 2013-06-20 | 2 | -2/+7 | |
| | | | | From Gangadharan S.A. Fixes issue #166. | |||||
* | Added doc example to convert date.max to infinity | Daniele Varrazzo | 2013-06-18 | 2 | -0/+46 | |
| | | | | See issue #163. | |||||
* | Merge branch 'range_eq_typerror' | Daniele Varrazzo | 2013-06-18 | 3 | -0/+17 | |
|\ | ||||||
| * | Mention the Range eq fix in the NEWS file | Daniele Varrazzo | 2013-06-18 | 1 | -0/+2 | |
| | | ||||||
| * | Uniform Range eq tests style | Daniele Varrazzo | 2013-06-18 | 1 | -5/+5 | |
| | | ||||||
| * | cater for comparison of subclasses | Chris Withers | 2013-05-26 | 2 | -1/+10 | |
| | | ||||||
| * | raising an exception here rather than returning False causes problems with ↵ | Chris Withers | 2013-05-26 | 2 | -8/+2 | |
| | | | | | | | | SQLAlchemy's internal state tracking | |||||
| * | more useful error message when comparing ranges with non-ranges | Chris Withers | 2013-05-26 | 2 | -0/+12 | |
| | | ||||||
* | | Added regression test for infinity parsing in dates | Daniele Varrazzo | 2013-05-11 | 1 | -2/+10 | |
| | | | | | | | | ...and a couple of typos. | |||||
* | | Added test to verify copysize handling in copy_expert | Daniele Varrazzo | 2013-05-06 | 1 | -0/+14 | |
| | | | | | | | | | | | | | | | | Not an original psycopg2 bug but present in pure python implementation, e.g. ctypes issue #25 and cffi issue #5. https://github.com/mvantellingen/psycopg2-ctypes/issues/25 https://github.com/chtd/psycopg2cffi/pull/5 | |||||
* | | Skip tests on python implementations without getrefcount() | Daniele Varrazzo | 2013-05-06 | 3 | -2/+13 | |
|/ | | | | PyPy is one of these. | |||||
* | A few docs fixes to the usage page | Daniele Varrazzo | 2013-05-01 | 1 | -6/+6 | |
| | ||||||
* | Dropped a lot of words from the front matter | Daniele Varrazzo | 2013-04-26 | 1 | -10/+4 | |
| | | | | Replaced with links to the types adaptation table and the extension docs. | |||||
* | Fix multiple misspellings | Piotr Kasprzyk | 2013-04-26 | 25 | -50/+50 | |
| |