Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sql.Identifier can wrap a sequence of strings to represent qualified namesidentifier-sequence | Daniele Varrazzo | 2018-10-04 | 4 | -15/+73 |
| | | | | Close #732. | ||||
* | Merge branch 'stringification-of-ranges' | Daniele Varrazzo | 2018-10-04 | 3 | -0/+61 |
|\ | |||||
| * | Mention the better str(Range) in the docs. | Daniele Varrazzo | 2018-10-04 | 1 | -0/+2 |
| | | |||||
| * | Faster check for empty range in str() | Daniele Varrazzo | 2018-10-04 | 1 | -1/+1 |
| | | |||||
| * | Implement __str__ for range types | Michel Albert | 2018-09-30 | 2 | -0/+59 |
|/ | |||||
* | Merge branch 'fix-bsd' | Daniele Varrazzo | 2018-09-07 | 2 | -2/+2 |
|\ | |||||
| * | Mention FreeBSD build fixed in news file | Daniele Varrazzo | 2018-09-07 | 1 | -0/+1 |
| | | |||||
| * | Remove obsolete and incorrect FreeBSD version condition | Dmitry Marakasov | 2018-09-07 | 1 | -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_select | Daniel Hahler | 2018-09-05 | 1 | -2/+2 |
| | |||||
* | Fix typo in install.rst | Andrew King | 2018-09-05 | 1 | -1/+1 |
| | |||||
* | Update intersphinx URLs to point to Python 3 docs | Jon Dufresne | 2018-09-05 | 1 | -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 Peterson | 2018-09-05 | 1 | -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-tests | Daniele Varrazzo | 2018-08-17 | 1 | -53/+44 |
| | |||||
* | Merge branch 'fix-746' | Daniele Varrazzo | 2018-07-25 | 4 | -17/+65 |
|\ | |||||
| * | Fixed compile error on windowsfix-746 | Daniele Varrazzo | 2018-07-24 | 1 | -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.2 | Daniele Varrazzo | 2018-07-24 | 2 | -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 execute | Daniele Varrazzo | 2018-07-24 | 3 | -9/+58 |
|/ | | | | Close #746 | ||||
* | Merge branch 'py37' | Daniele Varrazzo | 2018-07-13 | 7 | -13/+20 |
|\ | |||||
| * | Consider PG 9.3 a thing of the past. | Daniele Varrazzo | 2018-07-13 | 1 | -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 xenial | Daniele Varrazzo | 2018-07-13 | 1 | -1/+1 |
| | | |||||
| * | Add testing and document support for Python 3.7 | Jon Dufresne | 2018-07-12 | 6 | -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 file | Daniele Varrazzo | 2018-05-23 | 2 | -2/+3 |
| | |||||
* | Added note adivising against depending on the -wheels package | Daniele Varrazzo | 2018-05-23 | 1 | -4/+13 |
| | |||||
* | Dropped license paragraph applying to removed files | Daniele Varrazzo | 2018-05-23 | 1 | -7/+2 |
| | |||||
* | Merge branch 'drop-2to3' | Daniele Varrazzo | 2018-05-21 | 15 | -84/+171 |
|\ | |||||
| * | DictCursor and RealDictCursor rows maintain columns order | Daniele Varrazzo | 2018-05-21 | 3 | -6/+95 |
| | | | | | | | | Close #177. | ||||
| * | Restored methods iter*() on dict cursors rows | Daniele Varrazzo | 2018-05-21 | 1 | -9/+24 |
| | | |||||
| * | Merge branch 'master' into drop-2to3 | Daniele Varrazzo | 2018-05-20 | 41 | -368/+923 |
| |\ | |/ |/| | |||||
* | | Added tests to verify iter methods on dict cursors | Daniele Varrazzo | 2018-05-20 | 1 | -1/+64 |
| | | | | | | | | ISTM the refactoring in #648 broke something | ||||
* | | DictCursor/RealDictCursor tests split | Daniele Varrazzo | 2018-05-20 | 1 | -78/+82 |
| | | |||||
* | | Merge branch 'encrypt-pass' | Daniele Varrazzo | 2018-05-20 | 5 | -2/+227 |
|\ \ | |||||
| * | | encrypt_password() reported in the news file | Daniele Varrazzo | 2018-05-20 | 1 | -0/+4 |
| | | | |||||
| * | | Fixed refcount handling in encrypt_password | Daniele Varrazzo | 2018-05-20 | 2 | -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 completed | Daniele Varrazzo | 2018-05-20 | 2 | -3/+29 |
| | | | |||||
| * | | encrypt_password docs moved to extension module and updated | Daniele Varrazzo | 2018-05-20 | 2 | -27/+32 |
| | | | |||||
| * | | Fixed code flow in encrypt_password() | Daniele Varrazzo | 2018-05-20 | 2 | -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-pass | Daniele Varrazzo | 2018-05-20 | 24 | -84/+206 |
| |\ \ | |/ / |/| | | |||||
* | | | Complete tox testing matrix | Jon Dufresne | 2018-05-20 | 1 | -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.org | Jon Dufresne | 2018-05-20 | 4 | -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 altogether | Daniele Varrazzo | 2018-05-20 | 1 | -2/+0 |
| | | | |||||
* | | | Intersphinx urls to generate Python links updated | Daniele Varrazzo | 2018-05-20 | 1 | -2/+2 |
| | | | | | | | | | | | | Previous urls warn about a redirect, so they are probably to go. | ||||
* | | | Added license to the docs | Daniele Varrazzo | 2018-05-20 | 6 | -9/+27 |
| | | | | | | | | | | | | Includes other docs improvements, such as the ones proposed in #711. | ||||
* | | | Merge branch 'fix-716' | Daniele Varrazzo | 2018-05-20 | 4 | -7/+24 |
|\ \ \ | |||||
| * | | | Don't raise an exception closing an unused named cursorfix-716 | Daniele Varrazzo | 2018-05-20 | 4 | -7/+24 |
| | | | | | | | | | | | | | | | | Close #716 | ||||
* | | | | Merge branch 'fix-707' | Daniele Varrazzo | 2018-05-20 | 2 | -0/+13 |
|\ \ \ \ | |/ / / |/| | | | |||||
| * | | | Set minimal postgres version for intervalstyle testfix-707 | Daniele Varrazzo | 2018-05-20 | 1 | -0/+1 |
| | | | | |||||
| * | | | Raise NotSupportedError fetching iso_8601 intervals | Daniele Varrazzo | 2018-05-20 | 2 | -0/+12 |
|/ / / | | | | | | | | | | | | | | | | Previously it would have failed parsing and resulted in ValueError Close #707 | ||||
* | | | Merge remote-tracking branch 'nested-array-nulls' | Daniele Varrazzo | 2018-05-20 | 4 | -41/+106 |
|\ \ \ | |||||
| * | | | Hstore test fixed after adapting arrays dropped space after commasnested-array-nulls | Daniele Varrazzo | 2018-05-18 | 1 | -2/+2 |
| | | | | |||||
| * | | | Fixed adaptation of arrays of arrays of nulls | Daniele Varrazzo | 2018-05-18 | 3 | -39/+104 |
| | | | | | | | | | | | | | | | | Close #325, close #706. |