Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the connection.info properties instead of the legacy methodsconnection-info | Daniele Varrazzo | 2018-10-13 | 15 | -77/+78 |
| | |||||
* | Guard from some info functions not available in some libpq versions | Daniele Varrazzo | 2018-10-13 | 2 | -8/+48 |
| | |||||
* | Added ConnectionInfo.parameter_status() | Daniele Varrazzo | 2018-10-13 | 4 | -39/+97 |
| | |||||
* | Added ConnectionInfo.ssl_attribute() | Daniele Varrazzo | 2018-10-13 | 3 | -1/+96 |
| | |||||
* | Added all the missing ConnectionInfo attributes | Daniele Varrazzo | 2018-10-13 | 3 | -4/+151 |
| | |||||
* | Added missing class signatures in the docs | Daniele Varrazzo | 2018-10-13 | 1 | -2/+2 |
| | |||||
* | Added ConnectionInfo.error_message | Daniele Varrazzo | 2018-10-13 | 3 | -0/+37 |
| | |||||
* | Added other members to the ConnectionInfo class | Daniele Varrazzo | 2018-10-12 | 4 | -52/+175 |
| | | | | | Starting deprecating softly some of the methods bloating the connection class. | ||||
* | Added several ConnectionInfo attributes | Daniele Varrazzo | 2018-10-12 | 4 | -10/+179 |
| | |||||
* | Adding ConnectionInfo object documentation | Daniele Varrazzo | 2018-10-12 | 4 | -14/+31 |
| | | | | | | I'm still fought whether docs should be in the C module or in the .rst. I'd prefer the first because DRY, but writing multiline strings in C really sucks. | ||||
* | Moving host attribute to a connection.info object | Daniele Varrazzo | 2018-10-11 | 6 | -24/+193 |
| | |||||
* | Merge branch 'description-extra-attrs' | Daniele Varrazzo | 2018-10-11 | 9 | -133/+597 |
|\ | |||||
| * | Added docs for the Column object | Daniele Varrazzo | 2018-10-11 | 3 | -35/+115 |
| | | |||||
| * | Added table_oid, table_column on cursor.description itemsdescription-extra-attrs | Daniele Varrazzo | 2018-10-11 | 4 | -6/+66 |
| | | | | | | | | Close #661 | ||||
| * | Added C implementation for a Column type | Daniele Varrazzo | 2018-10-11 | 5 | -98/+422 |
|/ | | | | Currently behaving exactly like the previous (named)tuple. | ||||
* | Merge branch 'fix-copy-async-hangs' | Daniele Varrazzo | 2018-10-10 | 4 | -5/+23 |
|\ | |||||
| * | Fixed infinite loop in pq_get_last_result after COPY | Daniele Varrazzo | 2018-10-10 | 4 | -5/+23 |
|/ | | | | | | | There will be an error downstream but we have to get out of this function first. Close #781 | ||||
* | Merge pull request #771 from jdufresne/distutils | Daniele Varrazzo | 2018-10-10 | 1 | -4/+1 |
|\ | | | | | Drop legacy distutils fallback in setup.py | ||||
| * | Drop legacy distutils in setup.py | Jon Dufresne | 2018-09-15 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | distutils is not recommended for use and unnecessary for modern Python environments. Use only setuptools instead. From https://docs.python.org/3/library/distutils.html: > Most Python users will not want to use this module directly, but > instead use the cross-version tools maintained by the Python Packaging > Authority. In particular, setuptools is an enhanced alternative to > distutils ... > > The recommended pip installer runs all setup.py scripts with > setuptools, even if the script itself only imports distutils. Refer to > the Python Packaging User Guide for more information. | ||||
* | | Merge branch 'https' | Daniele Varrazzo | 2018-10-10 | 29 | -122/+122 |
|\ \ | |||||
| * | | Another url changed to https | Daniele Varrazzo | 2018-10-10 | 1 | -1/+1 |
| | | | | | | | | | | | | Added after this MR. | ||||
| * | | Merge branch 'master' into https | Daniele Varrazzo | 2018-10-10 | 42 | -61956/+250 |
| |\ \ | |/ / |/| | | |||||
* | | | Merge pull request #789 from jdufresne/argparse | Daniele Varrazzo | 2018-10-10 | 1 | -9/+7 |
|\ \ \ | | | | | | | | | Replace deprecated optparse usage with argparse | ||||
| * | | | Replace deprecated optparse usage with argparse | Jon Dufresne | 2018-10-10 | 1 | -9/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per https://docs.python.org/3/library/optparse.html > Deprecated since version 3.2: The optparse module is deprecated and > will not be developed further; development will continue with the > argparse module. | ||||
* | | | | Merge branch 'conn-get-host' | Daniele Varrazzo | 2018-10-10 | 4 | -1/+55 |
|\ \ \ \ | |||||
| * | | | | Small tweaks to connection.host docs | Daniele Varrazzo | 2018-10-10 | 2 | -3/+3 |
| | | | | | |||||
| * | | | | Added connection.host | Marco De Paoli | 2018-10-06 | 4 | -1/+55 |
| | | | | | | | | | | | | | | | | | | | | Return the server host name of the current connect. | ||||
* | | | | | Merge remote-tracking branch 'origin/diag-schema-name-nonloc' | Daniele Varrazzo | 2018-10-10 | 4 | -4/+29 |
|\ \ \ \ \ | |_|/ / / |/| | | | | |||||
| * | | | | Added Diagnostics.severity_nonlocalized attributediag-schema-name-nonloc | Daniele Varrazzo | 2018-10-04 | 4 | -4/+29 |
| |/ / / | | | | | | | | | | | | | Close #783. | ||||
* | | | | Commented out test to avoid beaking master | Federico Di Gregorio | 2018-10-10 | 1 | -3/+3 |
| | | | | |||||
* | | | | Fixed test for issue #788 | Federico Di Gregorio | 2018-10-10 | 1 | -1/+1 |
| | | | | |||||
* | | | | Added test for issue #788 | Federico Di Gregorio | 2018-10-10 | 1 | -0/+4 |
| | | | | |||||
* | | | | Sandbox removed | Federico Di Gregorio | 2018-10-09 | 27 | -61927/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sandbox directory was there to test issues before we had full test coverage and to try quick and dirty Python snippets before moving them to the examples directory, sending them to mailing list or copying them to the docs. Almost anything that was in sandbox is now in the examples directory or has been refactored into a full test, or is so old that is of no use anymore. So, adieu sandbox. | ||||
* | | | | Merge pull request #786 from alandmoore/master | Federico Di Gregorio | 2018-10-08 | 1 | -0/+21 |
|\ \ \ \ | |/ / / |/| | | | Add documentation about the use of backslashes with LIKE | ||||
| * | | | Fix RST markup | Alan D Moore | 2018-10-08 | 1 | -1/+1 |
| | | | | |||||
| * | | | Added note about backslashes and LIKE | Alan D Moore | 2018-10-08 | 1 | -0/+21 |
|/ / / | | | | | | | | | | | | | Added note about the use of LIKE with strings containing backslashes. Addresses concern in issue #785. | ||||
* | | | Merge branch 'identifier-sequence' | Daniele Varrazzo | 2018-10-04 | 4 | -15/+73 |
|\ \ \ | |||||
| * | | | 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 |
|/ / | |||||
| * | Prefer https:// URLs when available | Jon Dufresne | 2018-09-22 | 29 | -121/+121 |
|/ | |||||
* | 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. |