summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use the connection.info properties instead of the legacy methodsconnection-infoDaniele Varrazzo2018-10-1315-77/+78
|
* Guard from some info functions not available in some libpq versionsDaniele Varrazzo2018-10-132-8/+48
|
* Added ConnectionInfo.parameter_status()Daniele Varrazzo2018-10-134-39/+97
|
* Added ConnectionInfo.ssl_attribute()Daniele Varrazzo2018-10-133-1/+96
|
* Added all the missing ConnectionInfo attributesDaniele Varrazzo2018-10-133-4/+151
|
* Added missing class signatures in the docsDaniele Varrazzo2018-10-131-2/+2
|
* Added ConnectionInfo.error_messageDaniele Varrazzo2018-10-133-0/+37
|
* Added other members to the ConnectionInfo classDaniele Varrazzo2018-10-124-52/+175
| | | | | Starting deprecating softly some of the methods bloating the connection class.
* Added several ConnectionInfo attributesDaniele Varrazzo2018-10-124-10/+179
|
* Adding ConnectionInfo object documentationDaniele Varrazzo2018-10-124-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 objectDaniele Varrazzo2018-10-116-24/+193
|
* Merge branch 'description-extra-attrs'Daniele Varrazzo2018-10-119-133/+597
|\
| * Added docs for the Column objectDaniele Varrazzo2018-10-113-35/+115
| |
| * Added table_oid, table_column on cursor.description itemsdescription-extra-attrsDaniele Varrazzo2018-10-114-6/+66
| | | | | | | | Close #661
| * Added C implementation for a Column typeDaniele Varrazzo2018-10-115-98/+422
|/ | | | Currently behaving exactly like the previous (named)tuple.
* Merge branch 'fix-copy-async-hangs'Daniele Varrazzo2018-10-104-5/+23
|\
| * Fixed infinite loop in pq_get_last_result after COPYDaniele Varrazzo2018-10-104-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/distutilsDaniele Varrazzo2018-10-101-4/+1
|\ | | | | Drop legacy distutils fallback in setup.py
| * Drop legacy distutils in setup.pyJon Dufresne2018-09-151-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 Varrazzo2018-10-1029-122/+122
|\ \
| * | Another url changed to httpsDaniele Varrazzo2018-10-101-1/+1
| | | | | | | | | | | | Added after this MR.
| * | Merge branch 'master' into httpsDaniele Varrazzo2018-10-1042-61956/+250
| |\ \ | |/ / |/| |
* | | Merge pull request #789 from jdufresne/argparseDaniele Varrazzo2018-10-101-9/+7
|\ \ \ | | | | | | | | Replace deprecated optparse usage with argparse
| * | | Replace deprecated optparse usage with argparseJon Dufresne2018-10-101-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 Varrazzo2018-10-104-1/+55
|\ \ \ \
| * | | | Small tweaks to connection.host docsDaniele Varrazzo2018-10-102-3/+3
| | | | |
| * | | | Added connection.hostMarco De Paoli2018-10-064-1/+55
| | | | | | | | | | | | | | | | | | | | Return the server host name of the current connect.
* | | | | Merge remote-tracking branch 'origin/diag-schema-name-nonloc'Daniele Varrazzo2018-10-104-4/+29
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Added Diagnostics.severity_nonlocalized attributediag-schema-name-nonlocDaniele Varrazzo2018-10-044-4/+29
| |/ / / | | | | | | | | | | | | Close #783.
* | | | Commented out test to avoid beaking masterFederico Di Gregorio2018-10-101-3/+3
| | | |
* | | | Fixed test for issue #788Federico Di Gregorio2018-10-101-1/+1
| | | |
* | | | Added test for issue #788Federico Di Gregorio2018-10-101-0/+4
| | | |
* | | | Sandbox removedFederico Di Gregorio2018-10-0927-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/masterFederico Di Gregorio2018-10-081-0/+21
|\ \ \ \ | |/ / / |/| | | Add documentation about the use of backslashes with LIKE
| * | | Fix RST markupAlan D Moore2018-10-081-1/+1
| | | |
| * | | Added note about backslashes and LIKEAlan D Moore2018-10-081-0/+21
|/ / / | | | | | | | | | | | | Added note about the use of LIKE with strings containing backslashes. Addresses concern in issue #785.
* | | Merge branch 'identifier-sequence'Daniele Varrazzo2018-10-044-15/+73
|\ \ \
| * | | 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
|/ /
| * Prefer https:// URLs when availableJon Dufresne2018-09-2229-121/+121
|/
* 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.