summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Work in progress on writable encodingqstring-writable-encodingDaniele Varrazzo2016-07-013-26/+100
| | | | | | | | | | | | | | | | Would help using adapt(unicode) to quote strings without a connection, see ticket #331. Currently in heisenbug state: if test_connection_wins_anyway and test_encoding_default run (in this order), the latter fail because the returned value is "'\xe8 '", with an extra space. Skipping the first test, the second succeed. The bad value is returned by the libpq: ql = PQescapeString(to+eq+1, from, len); just returns len = 2 and an extra space in the string... meh.
* Fixed build on win32Daniele Varrazzo2016-07-011-1/+2
| | | | Fix #422.
* Fixed segfault on repr() for uninitialized connectionsDaniele Varrazzo2016-07-012-3/+4
| | | | Close #361.
* Wordsmithing on COPY commandsDaniele Varrazzo2016-07-012-2/+13
| | | | Address somehow issue #397.
* Document that the libpq must be available at runtimeDaniele Varrazzo2016-07-011-0/+10
| | | | Fix issue #408.
* Typo.Gabriel Linder2016-07-011-1/+1
|
* dont claim copyright for future yearsBernhard M. Wiedemann2016-07-011-3/+1
| | | | | | | | | otherwise, when building from unchanged source in 2018, it would claim Copyright 2018 which is not true Being able to reproduce identical output from identical input is important to Linux distributions
* Merge pull request #447 from gward/maint_2_6Federico Di Gregorio2016-06-293-6/+6
|\ | | | | Fix scattered grammar/spelling errors in comments, debug output, etc.
| * Fix scattered grammar/spelling errors in comments, debug output, etc.Greg Ward2016-06-283-6/+6
|/
* Improve sentence.Karl O. Pinc2016-03-101-1/+1
|
* Update psycopg1.pyJan Janßen2016-03-101-1/+1
|
* Merge branch 'py35' into maint_2_6Daniele Varrazzo2016-03-084-2/+8
|\
| * Start advertising Py 3.5 supportDaniele Varrazzo2016-03-082-1/+2
| |
| * Fixed read() exception propagation in copy_fromDaniele Varrazzo2016-03-082-1/+6
|/ | | | Close issue #412.
* Merge branch 'setuptools' into maint_2_6Daniele Varrazzo2016-03-082-8/+3
|\
| * Fixed 'make sdist' to work with setuptoolsDaniele Varrazzo2016-03-082-8/+3
| |
* | Merge branch 'msvc-2015-fix' into maint_2_6Daniele Varrazzo2016-03-082-0/+5
|\ \
| * | Py 3.5 MSVC 2015 build fixed noted in newsDaniele Varrazzo2016-03-081-0/+1
| | | | | | | | | | | | Close issue #380.
| * | Work around late initialization in distutils._msvccompiler.Christian Ullrich2016-03-081-0/+4
|/ /
* | Merge branch 'setuptools' into maint_2_6Daniele Varrazzo2016-03-072-1/+5
|\ \ | |/
| * setuptools in the newsDaniele Varrazzo2016-03-071-0/+1
| |
| * Modify setup.py to support setuptools/wheelJason Erickson2016-03-051-1/+4
|/ | | | | | To support creation of whl files for PyPI, setuptools need to be imported instead of distutils. Created try/except case to fall back to integrated distutils if setuptools is not installed.
* Merge branch 'bug-382' into maint_2_6Daniele Varrazzo2015-12-164-2/+76
|\
| * Fixed race condition on import in errorcodes.lookupDaniele Varrazzo2015-12-164-2/+76
|/ | | | Fixes #382.
* Fix stale Dprintfs in pqpath.c referring to 'status'Oleksandr Shulgin2015-10-271-2/+2
|
* Decref the ssl module after importingDaniele Varrazzo2015-10-011-1/+4
|
* Bump to next version (uploading the docs)Daniele Varrazzo2015-10-011-1/+1
|
* The wait_select callback can cancel a query using Ctrl-CDaniele Varrazzo2015-10-014-9/+51
| | | | Fixes #333.
* Fixed PersistentConnectionPool on Python 3Daniele Varrazzo2015-10-012-4/+5
| | | | Fixes ticket #348.
* Typo correctionClodoaldoPinto2015-10-011-1/+1
|
* MSVC 2015 compiler support added to news fileDaniele Varrazzo2015-10-011-0/+1
|
* Merge branch 'msvc-2015-support' into maint_2_6Daniele Varrazzo2015-10-011-3/+8
|\
| * Fix for MSVC 2015: round has been added to this versionPhotonios2015-10-011-1/+5
| |
| * Fix for MSVC 2015: isnan is supported in this versionPhotonios2015-10-011-2/+3
|/
* Report NotSupportedError for PGRES_COPY_BOTH and PGRES_SINGLE_TUPLEDaniele Varrazzo2015-09-305-5/+59
| | | | Fixes #352.
* Report the server response status on errors with no messageDaniele Varrazzo2015-09-302-2/+10
| | | | | | Suggested by Craig Ringer in pull request #353, should also give more information for other cases we were reported on flaky servers (AWS, digital ocean...), see bug #281.
* Fixed build on Python 2.52_6_1Daniele Varrazzo2015-06-151-2/+2
|
* Fixed manifest trying to include Makefiles from build envDaniele Varrazzo2015-06-151-2/+2
|
* Version bumped to release 2.6.1Daniele Varrazzo2015-06-141-1/+1
|
* Skip null array test on Postgres versions not supporting itDaniele Varrazzo2015-06-141-0/+1
|
* Merge branch 'patch-328' into maint_2_6Daniele Varrazzo2015-06-143-28/+28
|\
| * Fixed compiler warnings about Py_ssize_t printf formatDaniele Varrazzo2015-06-141-6/+6
| |
| * Removed added Dprintf statementsJason Erickson2015-06-081-2/+0
| | | | | | | | Removed extra Dprintf statements added to trouble large objects
| * Fix Windows 64bit lobject support for very (>2GB) large objectsJason Erickson2015-06-083-22/+24
|/ | | | The type 'long' with Windows Visual C is 32bits in size for both 32bit and 64bit platforms. Changed type of variables that could be > 2GB from long to Py_ssize_t.
* Notify example should pop the oldest message in conn.notifies, not the newest.btubbs2015-06-021-1/+1
|
* Change "non desiderable" to "undesirable" in docsPete Hollobon2015-06-022-3/+3
| | | | "desiderable" is considered obsolete
* Merge branch 'adapt-list-of-none' into maint_2_6Daniele Varrazzo2015-06-023-1/+50
|\
| * Fixed adaptation of lists of NoneDaniele Varrazzo2015-06-023-1/+50
|/ | | | Note: lists of lists of None are not supported yet.
* OpenSSL deadlock fix noted in NEWSfileDaniele Varrazzo2015-05-031-0/+1
|
* Make sure libcrypto threadsafety callbacks are properly set upJan Urbański2015-05-031-0/+23
| | | | | | | | | | | | | | | | Multithreaded programs using libcrypto (part of OpenSSL) need to set up callbacks to ensure safe execution. Both Python and libpq set up those callbacks, which might lead to a conflict. To avoid leaving dangling function pointers when being unloaded, libpq sets up and removes the callbacks every time a SSL connection it opened and closed. If another Python thread is performing unrelated SSL operations (like connecting to a HTTPS server), this might lead to deadlocks, as described in http://www.postgresql.org/message-id/871tlzrlkq.fsf@wulczer.org Even if the problem will be remediated in libpq, it's still useful to have it fixed in psycopg2. The solution is to use Python's own libcrypto callbacks and completely disable handling them in libpq.