| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'master' into errors-moduleerrors-module | Daniele Varrazzo | 2018-10-15 | 10 | -122/+551 |
| |\ | |||||
| | * | Fixed refcount in connection's readonly and deferrable gettersfix-790 | Daniele Varrazzo | 2018-10-12 | 1 | -0/+2 |
| | | | | | | | | | Close #790 | ||||
| | * | Added table_oid, table_column on cursor.description itemsdescription-extra-attrs | Daniele Varrazzo | 2018-10-11 | 3 | -5/+44 |
| | | | | | | | | | Close #661 | ||||
| | * | Added C implementation for a Column type | Daniele Varrazzo | 2018-10-11 | 4 | -96/+420 |
| | | | | | | | | | Currently behaving exactly like the previous (named)tuple. | ||||
| | * | Fixed infinite loop in pq_get_last_result after COPY | Daniele Varrazzo | 2018-10-10 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | There will be an error downstream but we have to get out of this function first. Close #781 | ||||
| | * | Merge branch 'master' into https | Daniele Varrazzo | 2018-10-10 | 2 | -2/+34 |
| | |\ | |||||
| | | * | Merge branch 'conn-get-host' | Daniele Varrazzo | 2018-10-10 | 1 | -0/+22 |
| | | |\ | |||||
| | | | * | Added connection.host | Marco De Paoli | 2018-10-06 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | | | Return the server host name of the current connect. | ||||
| | | * | | Added Diagnostics.severity_nonlocalized attributediag-schema-name-nonloc | Daniele Varrazzo | 2018-10-04 | 1 | -2/+12 |
| | | |/ | | | | | | | | | | Close #783. | ||||
| | * | | Prefer https:// URLs when available | Jon Dufresne | 2018-09-22 | 4 | -5/+5 |
| | |/ | |||||
| | * | 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. | ||||
| | * | 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. | ||||
| | * | Close named cursor if exist, even if we didn't run execute | Daniele Varrazzo | 2018-07-24 | 1 | -9/+38 |
| | | | | | | | | | Close #746 | ||||
| * | | Generating the whole errors file from script | Daniele Varrazzo | 2018-08-17 | 1 | -0/+4 |
| | | | |||||
| * | | Read exceptions to raise from a Python module | Daniele Varrazzo | 2018-08-17 | 1 | -0/+40 |
| |/ | |||||
| * | Fixed refcount handling in encrypt_password | Daniele Varrazzo | 2018-05-20 | 1 | -9/+8 |
| | | | | | | | 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 | 1 | -1/+1 |
| | | |||||
| * | Fixed code flow in encrypt_password() | Daniele Varrazzo | 2018-05-20 | 1 | -56/+55 |
| | | | | | | | | | 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 | 3 | -38/+98 |
| |\ | |||||
| | * | Merge branch 'fix-716' | Daniele Varrazzo | 2018-05-20 | 1 | -6/+12 |
| | |\ | |||||
| | | * | Don't raise an exception closing an unused named cursorfix-716 | Daniele Varrazzo | 2018-05-20 | 1 | -6/+12 |
| | | | | | | | | | | | | | Close #716 | ||||
| | * | | Raise NotSupportedError fetching iso_8601 intervals | Daniele Varrazzo | 2018-05-20 | 1 | -0/+5 |
| | |/ | | | | | | | | | | | Previously it would have failed parsing and resulted in ValueError Close #707 | ||||
| | * | Fixed adaptation of arrays of arrays of nulls | Daniele Varrazzo | 2018-05-18 | 1 | -32/+81 |
| | | | | | | | | | Close #325, close #706. | ||||
| * | | Fixed the string format error reported by Travis-CI. | Ashesh Vashi | 2018-05-08 | 1 | -3/+1 |
| | | | | | | | | | Reference: https://travis-ci.org/psycopg/psycopg2/jobs/376288585 | ||||
| * | | Merge branch 'master' into master | Ashesh Vashi | 2018-05-08 | 15 | -51/+164 |
| |\ \ | |/ | |||||
| | * | Allow strings subclasses in ensure_bytesfix-679 | Daniele Varrazzo | 2018-02-21 | 1 | -2/+2 |
| | | | | | | | | | Fix #679 | ||||
| | * | Avoid quoting the string in the psycopg version macro | Daniele Varrazzo | 2018-02-19 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | Use a macro trick to add the quotes. This seems more portable than passing the quotes to the command line (see #658). https://gcc.gnu.org/onlinedocs/cpp/Stringizing.html | ||||
| | * | Fixed building on SmartOS | Mike Gerdts | 2018-02-19 | 2 | -1/+7 |
| | | | | | | | | | | | timeradd is missing on Solaris 10, but is present as a macro in <sys/time.h> on SmartOS, illumos, and likely Solaris 11. | ||||
| | * | Autocommit shouldn't change deferrable on servers not supporting it | Daniele Varrazzo | 2018-02-08 | 1 | -2/+2 |
| | | | | | | | | | Regression on unsupported Postgres versions after fixing bug #580 | ||||
| | * | Fixed idempotence check changing connection characteristics | Daniele Varrazzo | 2018-01-11 | 2 | -22/+36 |
| | | | |||||
| | * | 'cursor.mogrify()' can be called on closed cursorsmogrify-on-closed-cursor | Daniele Varrazzo | 2018-01-11 | 1 | -2/+0 |
| | | | | | | | | | Fix #579. | ||||
| | * | Merge branch 'macro-accessors' | Daniele Varrazzo | 2018-01-10 | 2 | -2/+9 |
| | |\ | |||||
| | | * | Moved datatime compatibility macros with others | Daniele Varrazzo | 2018-01-10 | 2 | -6/+5 |
| | | | | |||||
| | | * | define a "polyfill" inline for python 2 compatibility | Glyph | 2017-12-12 | 1 | -0/+6 |
| | | | | |||||
| | | * | use accessor macros for pypy3 compatibility | Glyph | 2017-12-12 | 1 | -2/+4 |
| | | | | |||||
| | * | | Fix typo in comment in utils.c | Ronan Amicel | 2017-12-14 | 1 | -1/+1 |
| | |/ | |||||
| | * | Trim trailing whitespace from all files throughout project | Jon Dufresne | 2017-12-01 | 5 | -6/+0 |
| | | | | | | | | | | | | | Many editors automatically trim whitespace on save. By trimming all files in one go, makes future diffs cleaner without extraneous whitespace changes. | ||||
| | * | Collect rowcount in executemany even when discarding results | Daniele Varrazzo | 2017-11-29 | 1 | -1/+2 |
| | | | | | | | | | Closes #633. | ||||
| | * | Add news and update version check | Hugo | 2017-11-28 | 1 | -2/+4 |
| | | | |||||
| | * | Drop support for EOL Python 2.6 | Hugo | 2017-11-28 | 1 | -10/+2 |
| | | | |||||
| | * | Merge branch 'solaris-support' | Daniele Varrazzo | 2017-11-28 | 3 | -0/+95 |
| | |\ | |||||
| | | * | Emulate timeradd and timersub on Solaris | My Karlsson | 2017-10-26 | 3 | -0/+95 |
| | | | | | | | | | | | | | | | | Solaris does not have timeradd and timersub. Add solaris_support.c which provides emulated versions of them on Solaris. | ||||
| | * | | Don't cast point arrays to float arrays (fixes: #613) | Federico Di Gregorio | 2017-11-16 | 1 | -1/+1 |
| | |/ | |||||
| * | | Moving the encrypt_password method from the connection class to the | Ashesh Vashi | 2017-09-14 | 2 | -70/+105 |
| | | | | | | | | | | | psycopgmodule, and exported it from psycopg2.extensions as per review comments. | ||||
| * | | Merge remote-tracking branch 'psycopg2/master' | Ashesh Vashi | 2017-09-11 | 2 | -0/+2 |
| |\ \ | |/ | |||||
| | * | Added back timestamptz[] default castfix-578 | Daniele Varrazzo | 2017-07-24 | 2 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | It was registered as side effect of an excessive definition that got cleaned up in 338dbe70a6c78c7edddea985e2386ebd864378c6. Looking at other removed redundant type oids, this was the only one missing from the `string_types` map. Close #578. | ||||
| * | | Using 'Text_FromUTF8' macro for transforming the encrypted C string to | Ashesh Vashi | 2017-07-17 | 1 | -4/+5 |
| | | | | | | | | | Python string to make it Python 3 compatible. | ||||
| * | | Added support for preparing the encrypted password of a PostgreSQL | Ashesh Vashi | 2017-07-17 | 1 | -0/+69 |
| |/ | | | | | password using the libpq functions - 'PQencryptPasswordConn', and 'PQencryptPassword'. | ||||
| * | Accept Composable in start_replication_expert() | Daniele Varrazzo | 2017-06-17 | 4 | -86/+97 |
| | | | | | Close #554 | ||||
| * | Fixed parsing interval from micros on 32 bit | Daniele Varrazzo | 2017-06-17 | 1 | -2/+1 |
| | | | | | Using integers the wrong size. Faithfully segfaulting since 1970. | ||||
