| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fixed use of StandardError in test | Daniele Varrazzo | 2019-02-11 | 1 | -1/+1 |
| | | | | | In Py3 it's gone. | ||||
| * | SQLSTATE error classes implemented in C | Daniele Varrazzo | 2019-02-10 | 1 | -3/+22 |
| | | | | | The module is only used to export them to Python. | ||||
| * | Use a proper LRU cache for namedtuplesfast-namedtuple | Daniele Varrazzo | 2019-02-02 | 1 | -13/+16 |
| | | | | | | | | | | Previous one didn't refresh by last use. Use the stdlib version for py3 and one of our own for py2. Max size set to 512, which should be fine for everyone (tweaking is still possible by monkeypatching, as the tests do, but I don't want to make an interface of it). | ||||
| * | Added caching of types generated by NamedTupleCursor | Daniele Varrazzo | 2019-02-02 | 1 | -0/+36 |
| | | | | | see #838 | ||||
| * | Added BYTESARRAY typecaster | Daniele Varrazzo | 2019-01-18 | 1 | -0/+26 |
| | | |||||
| * | Added test for BYTES typecaster | Daniele Varrazzo | 2019-01-18 | 1 | -0/+11 |
| | | |||||
| * | Merge remote-tracking branch ↵ | Daniele Varrazzo | 2018-12-27 | 1 | -0/+9 |
| |\ | | | | | | | 'eternalflow/execute-values-returning-clause-support' | ||||
| | * | rename param name to fetch | Ivan Kotelnikov | 2018-11-24 | 1 | -1/+1 |
| | | | |||||
| | * | write test for fetch_result flag | Ivan Kotelnikov | 2018-11-22 | 1 | -0/+9 |
| | | | |||||
| * | | Remove unnecessary test decorator 'skip_if_cant_cast' | Jon Dufresne | 2018-12-04 | 1 | -27/+8 |
| | | | | | | | | | | | | | ctypes is available and works on all supported Pythons. It has been available since Python 2.5. The tests were written when Python 2.4 was still supported. | ||||
| * | | Merge pull request #822 from jdufresne/decorate-all | Daniele Varrazzo | 2018-12-04 | 2 | -88/+50 |
| |\ \ | | | | | | | Simplify 'decorate_all_tests' usage by decorating the test class | ||||
| | * | | Simplify 'decorate_all_tests' usage by decorating the test class | Jon Dufresne | 2018-12-01 | 2 | -88/+50 |
| | |/ | | | | | | | | | Skip tests as early as possible by decorating the whole class with unittest.skipIf instead of every test method individually. | ||||
| * | | Remove workarounds for unsupported libpq < 9.1 | Jon Dufresne | 2018-12-01 | 1 | -2/+0 |
| |/ | | | | | | Per http://initd.org/psycopg/docs/install.html#prerequisites: > PostgreSQL client library version from 9.1 | ||||
| * | Convert int subclasses to long before adapting | Daniele Varrazzo | 2018-11-16 | 1 | -0/+12 |
| | | | | | | | | | | | | | Fixes adaptation of int/long subclasses whose str() is not the number, such IntEnum Close #591 Note that I thought it would have needed a new adapter, so I considered it a new feature. But it is more a shortcoming of the int adapter failing to do something reasonable (poor Liskov, always mistreated) so I may actually backport it if there is a new 2.7 release. | ||||
| * | Merge branch 'master' into feature-expose-pgconn | Federico Di Gregorio | 2018-11-07 | 26 | -172/+572 |
| |\ | |||||
| | * | Fixed adaptation of lists of empty listsfix-788 | Daniele Varrazzo | 2018-10-30 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | ...somehow. Postgres doesn't support them and converts them into a simple empty array. However this is not really our concern: the syntax we return is valid. Close #788 | ||||
| | * | Use class decorators to decorate all testsdecorators-fun | Daniele Varrazzo | 2018-10-30 | 9 | -87/+81 |
| | | | | | | | | | | | | | 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. | ||||
| | * | Don't barf on Composite passed to execute_values()fix-794 | Daniele Varrazzo | 2018-10-23 | 1 | -0/+20 |
| | | | | | | | | | Close #794 | ||||
| | * | Full flake8 3.5 cleanup | Daniele Varrazzo | 2018-10-23 | 24 | -25/+68 |
| | | | |||||
| | * | Merge branch 'connection-info' | Daniele Varrazzo | 2018-10-15 | 8 | -70/+209 |
| | |\ | |||||
| | | * | Use the connection.info properties instead of the legacy methodsconnection-info | Daniele Varrazzo | 2018-10-13 | 8 | -65/+65 |
| | | | | |||||
| | | * | 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 |
| | | | | |||||
| | * | | Merge branch 'master' into errors-moduleerrors-module | Daniele Varrazzo | 2018-10-15 | 11 | -70/+203 |
| | |\ \ | |||||
| | | * | | Fixed refcount in connection's readonly and deferrable gettersfix-790 | Daniele Varrazzo | 2018-10-12 | 1 | -0/+8 |
| | | |/ | | | | | | | | | | Close #790 | ||||
| | | * | Added table_oid, table_column on cursor.description itemsdescription-extra-attrs | Daniele Varrazzo | 2018-10-11 | 1 | -1/+22 |
| | | | | | | | | | | | | | Close #661 | ||||
| | | * | Fixed infinite loop in pq_get_last_result after COPY | Daniele Varrazzo | 2018-10-10 | 2 | -1/+13 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | 5 | -9/+97 |
| | | |\ | |||||
| | | | * | Merge branch 'conn-get-host' | Daniele Varrazzo | 2018-10-10 | 1 | -1/+14 |
| | | | |\ | |||||
| | | | | * | Added connection.host | Marco De Paoli | 2018-10-06 | 1 | -1/+14 |
| | | | | | | | | | | | | | | | | | | | | | Return the server host name of the current connect. | ||||
| | | | * | | Merge remote-tracking branch 'origin/diag-schema-name-nonloc' | Daniele Varrazzo | 2018-10-10 | 1 | -2/+11 |
| | | | |\ \ | |||||
| | | | | * | | Added Diagnostics.severity_nonlocalized attributediag-schema-name-nonloc | Daniele Varrazzo | 2018-10-04 | 1 | -2/+11 |
| | | | | |/ | | | | | | | | | | | | | | | | 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 |
| | | | |/ | |||||
| | | | * | sql.Identifier can wrap a sequence of strings to represent qualified namesidentifier-sequence | Daniele Varrazzo | 2018-10-04 | 1 | -6/+22 |
| | | | | | | | | | | | | | | | | | Close #732. | ||||
| | | | * | Implement __str__ for range types | Michel Albert | 2018-09-30 | 1 | -0/+46 |
| | | | | | |||||
| | | * | | Prefer https:// URLs when available | Jon Dufresne | 2018-09-22 | 3 | -4/+4 |
| | | |/ | |||||
| | * | | Added errors.lookup() function | Daniele Varrazzo | 2018-10-15 | 1 | -0/+8 |
| | | | | |||||
| | * | | Read exceptions to raise from a Python module | Daniele Varrazzo | 2018-08-17 | 2 | -0/+64 |
| | | | | |||||
| * | | | 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 |
| | | | |||||
| * | | 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 | 1 | -0/+13 |
| |/ | | | | Close #746 | ||||
