summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Explicit the fact that closed connections have undefined statusDaniele Varrazzo2014-04-031-0/+2
|
* Fixed dsn and closed attributes in failing connection subclasses.Daniele Varrazzo2014-04-034-4/+27
| | | | From ticket #192 discussion.
* Fixed DNS typo in examplesErwin de Keijzer2014-03-2415-15/+15
|
* Don't segfault on uninitialized cursorDaniele Varrazzo2014-02-263-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 macroDaniele Varrazzo2014-02-262-19/+30
|
* Merge branch 'ticket-194'Daniele Varrazzo2014-02-242-9/+10
|\
| * Bug #194 confirmed fixed: newsfile updated.Daniele Varrazzo2014-02-241-0/+2
| |
| * Set the connection async before polling for connectionDaniele Varrazzo2014-02-241-5/+5
| | | | | | | | It should fix ticket #194
| * Set the connection async earlier in green modeDaniele Varrazzo2014-02-241-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 Varrazzo2014-02-225-11/+125
|\
| * Mention Range order in the news fileDaniele Varrazzo2014-02-221-0/+2
| |
| * Docs wordsmithing about Range orderDaniele Varrazzo2014-02-221-5/+8
| |
| * Hardcode the list of attributes to be used in comparisonDaniele Varrazzo2014-02-221-1/+1
| | | | | | | | Comparing Range subclasses may lead to surprises.
| * Added implementation for Range gt and ge operatorsDaniele Varrazzo2014-02-221-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 orderedChris Withers2014-02-181-1/+6
| |
| * New implementation of Range sorting that works for Python 2.5 to 3.3, at least.Chris Withers2014-02-183-14/+54
| |
| * Coding style changes.Chris Withers2014-02-141-51/+51
| |
| * Provide a stable and consistent sort order for Range objects.Chris Withers2014-02-122-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 failedDaniele Varrazzo2014-02-221-1/+1
| |
* | Added str() for the Json adapterDaniele Varrazzo2014-02-223-0/+28
|/ | | | Fixes ticket #191.
* Merge branch 'outputres'Daniele Varrazzo2014-01-142-3/+12
|\
| * Mention outputres fix in NEWS fileDaniele Varrazzo2014-01-141-0/+6
| |
| * Fallback when get_ext_fullpath() is unavailableJames Emerton2014-01-101-1/+5
| |
| * Use get_ext_fullpath() for -outputresourceJames Emerton2014-01-101-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 parsingDaniele Varrazzo2014-01-142-1/+27
|/ | | | | Added FAQ too as it has bitten more than one user (see tickets #172, #190).
* Fixed dealloc of lobject->smodeDaniele Varrazzo2013-11-271-1/+1
| | | | | I put it by mistake into the in the self->conn checked block in the previous commit.
* Check connection type in lobject initDaniele Varrazzo2013-11-273-7/+16
| | | | Fixes ticket #187.
* Typo fixes and improvements to new_array_type() docsDaniele Varrazzo2013-10-211-6/+7
|
* Use bytestrings in infinite dates adapter exampleDaniele Varrazzo2013-10-211-2/+2
| | | | Returning strings would result in unclear tracebacks on Py3 (see ticket #163).
* Really test named cursors in test_scroll_named()Daniele Varrazzo2013-10-161-3/+1
|
* Document that named cursors don't raise an exception going out-of-boundDaniele Varrazzo2013-10-161-4/+7
| | | | See issue #174 for the details.
* Document that using %, (, ) in the placeholder name is not supportedDaniele Varrazzo2013-10-161-1/+2
|
* Meaningful connection errors report a meaningful messageDaniele Varrazzo2013-10-163-1/+18
| | | | Fixes issue #173.
* Fixed pickling of exceptions with no pgerror/pgcode setDaniele Varrazzo2013-07-193-2/+32
| | | | Fixes ticket #170.
* Fixed titles in newsfileDaniele Varrazzo2013-07-191-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 datesDaniele Varrazzo2013-06-231-1/+1
|
* Untrack the connection before closing to avoid possible double-freeDaniele Varrazzo2013-06-202-2/+7
| | | | From Gangadharan S.A. Fixes issue #166.
* Added doc example to convert date.max to infinityDaniele Varrazzo2013-06-182-0/+46
| | | | See issue #163.
* Merge branch 'range_eq_typerror'Daniele Varrazzo2013-06-183-0/+17
|\
| * Mention the Range eq fix in the NEWS fileDaniele Varrazzo2013-06-181-0/+2
| |
| * Uniform Range eq tests styleDaniele Varrazzo2013-06-181-5/+5
| |
| * cater for comparison of subclassesChris Withers2013-05-262-1/+10
| |
| * raising an exception here rather than returning False causes problems with ↵Chris Withers2013-05-262-8/+2
| | | | | | | | SQLAlchemy's internal state tracking
| * more useful error message when comparing ranges with non-rangesChris Withers2013-05-262-0/+12
| |
* | Added regression test for infinity parsing in datesDaniele Varrazzo2013-05-111-2/+10
| | | | | | | | ...and a couple of typos.
* | Added test to verify copysize handling in copy_expertDaniele Varrazzo2013-05-061-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 Varrazzo2013-05-063-2/+13
|/ | | | PyPy is one of these.
* A few docs fixes to the usage pageDaniele Varrazzo2013-05-011-6/+6
|
* Dropped a lot of words from the front matterDaniele Varrazzo2013-04-261-10/+4
| | | | Replaced with links to the types adaptation table and the extension docs.
* Fix multiple misspellingsPiotr Kasprzyk2013-04-2625-50/+50
|