| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'master' into feature-expose-pgconn | Federico Di Gregorio | 2018-11-07 | 1 | -42/+201 |
| |\ | |||||
| | * | Use class decorators to decorate all testsdecorators-fun | Daniele Varrazzo | 2018-10-30 | 1 | -4/+2 |
| | | | | | | | | | | | | | Test decorators changed so that they can be applied either to a method or to a class. Of course their double nature is implemented by a decorator. | ||||
| | * | Full flake8 3.5 cleanup | Daniele Varrazzo | 2018-10-23 | 1 | -0/+1 |
| | | | |||||
| | * | Merge branch 'connection-info' | Daniele Varrazzo | 2018-10-15 | 1 | -42/+181 |
| | |\ | |||||
| | | * | Use the connection.info properties instead of the legacy methodsconnection-info | Daniele Varrazzo | 2018-10-13 | 1 | -37/+37 |
| | | | | |||||
| | | * | Guard from some info functions not available in some libpq versions | Daniele Varrazzo | 2018-10-13 | 1 | -0/+11 |
| | | | | |||||
| | | * | Added ConnectionInfo.parameter_status() | Daniele Varrazzo | 2018-10-13 | 1 | -0/+15 |
| | | | | |||||
| | | * | Added ConnectionInfo.ssl_attribute() | Daniele Varrazzo | 2018-10-13 | 1 | -0/+15 |
| | | | | |||||
| | | * | Added all the missing ConnectionInfo attributes | Daniele Varrazzo | 2018-10-13 | 1 | -0/+28 |
| | | | | |||||
| | | * | Added ConnectionInfo.error_message | Daniele Varrazzo | 2018-10-13 | 1 | -0/+12 |
| | | | | |||||
| | | * | Added other members to the ConnectionInfo class | Daniele Varrazzo | 2018-10-12 | 1 | -1/+26 |
| | | | | | | | | | | | | | | | | Starting deprecating softly some of the methods bloating the connection class. | ||||
| | | * | Added several ConnectionInfo attributes | Daniele Varrazzo | 2018-10-12 | 1 | -0/+36 |
| | | | | |||||
| | | * | Moving host attribute to a connection.info object | Daniele Varrazzo | 2018-10-11 | 1 | -6/+3 |
| | | | | |||||
| | * | | Fixed refcount in connection's readonly and deferrable gettersfix-790 | Daniele Varrazzo | 2018-10-12 | 1 | -0/+8 |
| | |/ | | | | | | | Close #790 | ||||
| | * | Added connection.host | Marco De Paoli | 2018-10-06 | 1 | -1/+14 |
| | | | | | | | | | Return the server host name of the current connect. | ||||
| * | | Added connection.get_native_connection() | Federico Di Gregorio | 2018-10-07 | 1 | -0/+5 |
| |/ | |||||
| * | Better testing of encryption function with libpq < 10encrypt-password-fix-tests | Daniele Varrazzo | 2018-08-17 | 1 | -53/+44 |
| | | |||||
| * | Fixed refcount handling in encrypt_password | Daniele Varrazzo | 2018-05-20 | 1 | -0/+11 |
| | | | | | | | 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 | -2/+28 |
| | | |||||
| * | Fixed code flow in encrypt_password() | Daniele Varrazzo | 2018-05-20 | 1 | -14/+14 |
| | | | | | | | | | 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 master | Ashesh Vashi | 2018-05-08 | 1 | -9/+36 |
| |\ | |||||
| | * | Allow strings subclasses in ensure_bytesfix-679 | Daniele Varrazzo | 2018-02-21 | 1 | -0/+14 |
| | | | | | | | | | Fix #679 | ||||
| | * | Silence warning on import failing a test | Daniele Varrazzo | 2018-01-29 | 1 | -1/+5 |
| | | | |||||
| | * | Fixed idempotence check changing connection characteristics | Daniele Varrazzo | 2018-01-11 | 1 | -0/+10 |
| | | | |||||
| | * | Use relative imports throughout tests | Jon Dufresne | 2017-12-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests relied on Python2 relative import semantics. Python3 changed import semantics to always search sys.path by default. To import using a relative path it must have a leading dot. Forward compatible with newer Pythons. Works towards the goal of moving tests outside of the installed package. For more information, see PEP-328: https://www.python.org/dev/peps/pep-0328/ | ||||
| | * | Remove unnecessary script_to_py3; make scripts compatible instead | Jon Dufresne | 2017-12-01 | 1 | -2/+2 |
| | | | | | | | | | Part of the work towards moving tests out of the installed package. | ||||
| | * | Drop support for EOL Python 2.6 | Hugo | 2017-11-28 | 1 | -2/+1 |
| | | | |||||
| | * | Use modern except syntax throughout project | Jon Dufresne | 2017-11-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | The syntax "except Exception, exc:" is deprecated. All Python versions supported by psycopg2 support the newer, modern syntax. Forward compatible with future Python versions. | ||||
| * | | Moving the encrypt_password method from the connection class to the | Ashesh Vashi | 2017-09-14 | 1 | -7/+10 |
| | | | | | | | | | | | psycopgmodule, and exported it from psycopg2.extensions as per review comments. | ||||
| * | | Merge remote-tracking branch 'psycopg2/master' | Ashesh Vashi | 2017-09-11 | 1 | -0/+1 |
| |\ \ | |/ | |||||
| | * | Skipped a couple of test with unsupported postgres features | Daniele Varrazzo | 2017-07-22 | 1 | -0/+1 |
| | | | |||||
| * | | 'encrypt_password' raises 'psycopg2.NotSupportedErorr' exception for | Ashesh Vashi | 2017-07-17 | 1 | -10/+4 |
| | | | | | | | | | | | server version >= 10, when compiled using libpq version < 10, when no algorithm is specified. | ||||
| * | | When compiled with libpq version < 10, it raises ↵ | Ashesh Vashi | 2017-07-17 | 1 | -1/+1 |
| | | | | | | | | | 'psycopg2.NotSupportedError' (not, psycopg2.ProgrammingError). | ||||
| * | | Added support for preparing the encrypted password of a PostgreSQL | Ashesh Vashi | 2017-07-17 | 1 | -1/+55 |
| |/ | | | | | password using the libpq functions - 'PQencryptPasswordConn', and 'PQencryptPassword'. | ||||
| * | Ignore spurious output in test with Python debug build | Daniele Varrazzo | 2017-06-17 | 1 | -0/+3 |
| | | |||||
| * | Don't force a valid return code for the test | Daniele Varrazzo | 2017-06-15 | 1 | -1/+1 |
| | | | | | Windows returns 22, Linux returns 1 | ||||
| * | Added test to reproduce bug #551 | Daniele Varrazzo | 2017-06-15 | 1 | -1/+57 |
| | | |||||
| * | Obscure the password on url dsn too | Daniele Varrazzo | 2017-03-16 | 1 | -7/+4 |
| | | | | | | | Note that we don't leak anymore the password length. Fix #528 | ||||
| * | Added tests to verify the password is obscured | Daniele Varrazzo | 2017-03-15 | 1 | -0/+40 |
| | | | | | The url test fails: see issue #528 | ||||
| * | Bunch of test tweaks to make the test grid green | Daniele Varrazzo | 2017-03-14 | 1 | -10/+2 |
| | | |||||
| * | Ignore None arguments passed to make_dsn()fix-517 | Daniele Varrazzo | 2017-03-01 | 1 | -0/+4 |
| | | | | | Close #517. | ||||
| * | Added readonly and deferrable attributes | Daniele Varrazzo | 2017-02-16 | 1 | -15/+112 |
| | | |||||
| * | Revert pre-2.7b1 behaviour of silent rollback on conn.set_isolation_level() | Daniele Varrazzo | 2017-02-16 | 1 | -6/+26 |
| | | | | | Legacy method is legacy. | ||||
| * | connection.isolation_level is now writable | Daniele Varrazzo | 2017-02-16 | 1 | -78/+179 |
| | | |||||
| * | Merge branch 'no-set-default-session' | Daniele Varrazzo | 2017-02-07 | 1 | -53/+54 |
| |\ | |||||
| | * | Set default_transaction_* GUC if session state is changed in autocomit | Daniele Varrazzo | 2017-02-04 | 1 | -24/+25 |
| | | | |||||
| | * | Exposing ISOLATION_LEVEL_DEFAULT to Python | Daniele Varrazzo | 2017-02-04 | 1 | -1/+1 |
| | | | | | | | | | | | This is now the state that is returned to Python if nothing has been explicitly set. | ||||
| | * | Test looking the transactions characteristics instead of the default | Daniele Varrazzo | 2017-02-04 | 1 | -28/+28 |
| | | | | | | | | | | | | | So we test the effect, not the implementation. Tests pass on master too this way, three tests fail in this branch, related to autocommit (sort-of-obviously). | ||||
| * | | assertDsnEqual moved as TestSuite method | Daniele Varrazzo | 2017-02-06 | 1 | -5/+5 |
| |/ | |||||
| * | Merge branch 'async-keyword' | Daniele Varrazzo | 2017-02-03 | 1 | -8/+5 |
| |\ | | | | | | | Close #495 | ||||
