summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sql.Identifier can wrap a sequence of strings to represent qualified namesidentifier-sequenceDaniele Varrazzo2018-10-044-15/+73
| | | | Close #732.
* Merge branch 'stringification-of-ranges'Daniele Varrazzo2018-10-043-0/+61
|\
| * Mention the better str(Range) in the docs.Daniele Varrazzo2018-10-041-0/+2
| |
| * Faster check for empty range in str()Daniele Varrazzo2018-10-041-1/+1
| |
| * Implement __str__ for range typesMichel Albert2018-09-302-0/+59
|/
* Merge branch 'fix-bsd'Daniele Varrazzo2018-09-072-2/+2
|\
| * Mention FreeBSD build fixed in news fileDaniele Varrazzo2018-09-071-0/+1
| |
| * Remove obsolete and incorrect FreeBSD version conditionDmitry Marakasov2018-09-071-2/+1
|/ | | | The FreeBSD-related condition which enables custom round() implementation is incorrect: one must include <sys/param.h> to get __FreeBSD_version value, and since it's not included here, the check succeeds while it shouldn't. Before it worked somehow, but since python 3.7 it results in conflicting declarations of round(). The condition is also no longer needed since FreeBSD 5.3 is unsupported for 12 years.
* Improve doc for extras.wait_selectDaniel Hahler2018-09-051-2/+2
|
* Fix typo in install.rstAndrew King2018-09-051-1/+1
|
* Update intersphinx URLs to point to Python 3 docsJon Dufresne2018-09-051-3/+2
| | | | | | Python 3 docs are more up to date and reflect the future of Python. Removed unused py3 marker.
* Remove setup.py fallback that assumes postgres 7.4.0.Benjamin Peterson2018-09-051-7/+1
| | | | pyscopg2 only supports postgres >= 9.1 these days. Thus, taking this fallback will only lead to failure later down the line.
* Better testing of encryption function with libpq < 10encrypt-password-fix-testsDaniele Varrazzo2018-08-171-53/+44
|
* Merge branch 'fix-746'Daniele Varrazzo2018-07-254-17/+65
|\
| * Fixed compile error on windowsfix-746Daniele Varrazzo2018-07-241-10/+9
| | | | | | | | | | | | | | Because const int + 1 is not const, right??? Also fixed other occurrences of magic numbers and failed DRY around PyOS_snprintf() calls.
| * Bump tests for selective closure of named cursor to pg 8.2Daniele Varrazzo2018-07-242-2/+2
| | | | | | | | | | Previous versions don't support the features as they don't have the pg_cursors view. But they are too old to care.
| * Close named cursor if exist, even if we didn't run executeDaniele Varrazzo2018-07-243-9/+58
|/ | | | Close #746
* Merge branch 'py37'Daniele Varrazzo2018-07-137-13/+20
|\
| * Consider PG 9.3 a thing of the past.Daniele Varrazzo2018-07-131-1/+1
| | | | | | | | | | | | | | | | | | Wow, it seems yesterday... Previosly archived as a "past" version only in the prepare script. Test script consistent now. [skip ci]
| * Fetch the correct testing postgres packages on xenialDaniele Varrazzo2018-07-131-1/+1
| |
| * Add testing and document support for Python 3.7Jon Dufresne2018-07-126-11/+18
|/ | | | | | Python 3.7 was released on June 27, 2018. https://docs.python.org/3/whatsnew/3.7.html
* Note the upgrade in wheel dependencies in NEWS fileDaniele Varrazzo2018-05-232-2/+3
|
* Added note adivising against depending on the -wheels packageDaniele Varrazzo2018-05-231-4/+13
|
* Dropped license paragraph applying to removed filesDaniele Varrazzo2018-05-231-7/+2
|
* Merge branch 'drop-2to3'Daniele Varrazzo2018-05-2115-84/+171
|\
| * DictCursor and RealDictCursor rows maintain columns orderDaniele Varrazzo2018-05-213-6/+95
| | | | | | | | Close #177.
| * Restored methods iter*() on dict cursors rowsDaniele Varrazzo2018-05-211-9/+24
| |
| * Merge branch 'master' into drop-2to3Daniele Varrazzo2018-05-2041-368/+923
| |\ | |/ |/|
* | Added tests to verify iter methods on dict cursorsDaniele Varrazzo2018-05-201-1/+64
| | | | | | | | ISTM the refactoring in #648 broke something
* | DictCursor/RealDictCursor tests splitDaniele Varrazzo2018-05-201-78/+82
| |
* | Merge branch 'encrypt-pass'Daniele Varrazzo2018-05-205-2/+227
|\ \
| * | encrypt_password() reported in the news fileDaniele Varrazzo2018-05-201-0/+4
| | |
| * | Fixed refcount handling in encrypt_passwordDaniele Varrazzo2018-05-202-9/+19
| | | | | | | | | | | | | | | | | | Added tests to check bad types, which discovered the above problem: on type error we would have decref'd on exit something that was only borrowed (because we wouldn't have performed matching increfs).
| * | Fixed keywords support for encrypt_password and tests completedDaniele Varrazzo2018-05-202-3/+29
| | |
| * | encrypt_password docs moved to extension module and updatedDaniele Varrazzo2018-05-202-27/+32
| | |
| * | Fixed code flow in encrypt_password()Daniele Varrazzo2018-05-202-70/+69
| | | | | | | | | | | | | | | | | | | | | | | | Fixed several shortcomings highlighted in #576 and not fixed as requested. Also fixed broken behaviour of ignoring the algorithm if the connection is missing.
| * | Merge branch 'master' into encrypt-passDaniele Varrazzo2018-05-2024-84/+206
| |\ \ | |/ / |/| |
* | | Complete tox testing matrixJon Dufresne2018-05-201-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now tests all supported Python environments as well. Allows testing the full matrix of Python version with a single command. Include the command make in the whitelist_externals configuration to avoid the runtime warning: WARNING:test command found but not installed in testenv cmd: /usr/bin/make env: .../psycopg2/.tox/flake8 Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.
* | | Update all pypi.python.org URLs to pypi.orgJon Dufresne2018-05-204-5/+5
| | | | | | | | | | | | | | | | | | For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
* | | Command to upload docs on pythonhosted dropped altogetherDaniele Varrazzo2018-05-201-2/+0
| | |
* | | Intersphinx urls to generate Python links updatedDaniele Varrazzo2018-05-201-2/+2
| | | | | | | | | | | | Previous urls warn about a redirect, so they are probably to go.
* | | Added license to the docsDaniele Varrazzo2018-05-206-9/+27
| | | | | | | | | | | | Includes other docs improvements, such as the ones proposed in #711.
* | | Merge branch 'fix-716'Daniele Varrazzo2018-05-204-7/+24
|\ \ \
| * | | Don't raise an exception closing an unused named cursorfix-716Daniele Varrazzo2018-05-204-7/+24
| | | | | | | | | | | | | | | | Close #716
* | | | Merge branch 'fix-707'Daniele Varrazzo2018-05-202-0/+13
|\ \ \ \ | |/ / / |/| | |
| * | | Set minimal postgres version for intervalstyle testfix-707Daniele Varrazzo2018-05-201-0/+1
| | | |
| * | | Raise NotSupportedError fetching iso_8601 intervalsDaniele Varrazzo2018-05-202-0/+12
|/ / / | | | | | | | | | | | | | | | Previously it would have failed parsing and resulted in ValueError Close #707
* | | Merge remote-tracking branch 'nested-array-nulls'Daniele Varrazzo2018-05-204-41/+106
|\ \ \
| * | | Hstore test fixed after adapting arrays dropped space after commasnested-array-nullsDaniele Varrazzo2018-05-181-2/+2
| | | |
| * | | Fixed adaptation of arrays of arrays of nullsDaniele Varrazzo2018-05-183-39/+104
| | | | | | | | | | | | | | | | Close #325, close #706.