Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Remove workarounds for namedtuple on Python <= 2.5 | Jon Dufresne | 2017-11-26 | 1 | -16/+5 | |
|/ / | | | | | | | | | | | namedtuple is available on all Python versions supported by psycopg2. It was first introduced in Python 2.6. Can remove all workarounds and special documentation. | |||||
* | | Use modern except syntax throughout project | Jon Dufresne | 2017-11-20 | 1 | -1/+1 | |
|/ | | | | | | The syntax "except Exception, exc:" is deprecated. All Python versions supported by psycopg2 support the newer, modern syntax. Forward compatible with future Python versions. | |||||
* | Construct proper human sentences to describe execute_values() | Daniele Varrazzo | 2017-08-31 | 1 | -6/+11 | |
| | | | | With bonus typos dropped. | |||||
* | Use an import style reported not broken on Python 3.6 | Daniele Varrazzo | 2017-06-17 | 3 | -4/+4 | |
| | | | | Couldn't reproduce the issue but it has been documented in #550. | |||||
* | Added Json.prepare()fix-562 | Daniele Varrazzo | 2017-06-16 | 1 | -1/+8 | |
| | | | | Close #562 | |||||
* | Error codes updated to PG 10 beta 1 | Daniele Varrazzo | 2017-06-05 | 1 | -0/+3 | |
| | ||||||
* | errcodes updated to PG 9.6 | Daniele Varrazzo | 2017-06-05 | 1 | -0/+5 | |
| | ||||||
* | Note that the fast executemany functions don't respect rowcount | Daniele Varrazzo | 2017-03-28 | 1 | -0/+6 | |
| | | | | See issue #540 | |||||
* | Expose *DATETIMETZ* objects in the extensions module | Daniele Varrazzo | 2017-03-22 | 1 | -4/+4 | |
| | ||||||
* | Dropped repeated doc links in the same paragraph | Daniele Varrazzo | 2017-03-16 | 1 | -6/+6 | |
| | | | | And some more sql docs cleanup. | |||||
* | Added docs about the usability of sql objects with copy_expert()sql-copy | Daniele Varrazzo | 2017-03-16 | 1 | -5/+6 | |
| | | | | See issue #529. | |||||
* | Added test to verify sql objects work with copy_expert() | Daniele Varrazzo | 2017-03-16 | 1 | -1/+1 | |
| | | | | | | I'll be honest: I lucked out, I didn't think about this combination. But maybe sheer luck, maybe using common code paths, it just works. Let's make it stays so. | |||||
* | Ignore None arguments passed to make_dsn()fix-517 | Daniele Varrazzo | 2017-03-01 | 1 | -0/+3 | |
| | | | | Close #517. | |||||
* | connection.isolation_level is now writable | Daniele Varrazzo | 2017-02-16 | 1 | -1/+1 | |
| | ||||||
* | Stop a docstring generating a warning | Daniele Varrazzo | 2017-02-07 | 1 | -1/+1 | |
| | | | | Valid reST, slightly less valid Python. | |||||
* | Exposing ISOLATION_LEVEL_DEFAULT to Python | Daniele Varrazzo | 2017-02-04 | 1 | -0/+1 | |
| | | | | | This is now the state that is returned to Python if nothing has been explicitly set. | |||||
* | Merge branch 'master' into sql-composesql-compose | Daniele Varrazzo | 2017-02-03 | 2 | -24/+175 | |
|\ | ||||||
| * | Merge branch 'async-keyword' | Daniele Varrazzo | 2017-02-03 | 1 | -4/+10 | |
| |\ | | | | | | | | | | Close #495 | |||||
| | * | Added async_ as an alias for async | Daniele Varrazzo | 2017-02-03 | 1 | -4/+10 | |
| | | | | | | | | | | | | | | | Added in argument for psycopg2.connect() and connection.__init__, and for the connection.async attribute. | |||||
| * | | Further minimal performance tweaks to execute_valuesfast-executemany | Daniele Varrazzo | 2017-02-02 | 1 | -5/+6 | |
| | | | ||||||
| * | | Avoid an useless encode/decode roundtrip in execute_values() | Daniele Varrazzo | 2017-02-02 | 1 | -4/+44 | |
| | | | | | | | | | | | | Tests moved into a separate module. | |||||
| * | | Better docs for fast executemany functions. | Daniele Varrazzo | 2017-02-02 | 1 | -15/+31 | |
| | | | | | | | | | | | | Issue #502. | |||||
| * | | Fixed execute_values with unicode | Daniele Varrazzo | 2017-02-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | Also added unicode tests. | |||||
| * | | Fixed fast execute functions with Python 3 | Daniele Varrazzo | 2017-02-01 | 1 | -2/+4 | |
| | | | ||||||
| * | | Added execute_batch and execute_values functions | Daniele Varrazzo | 2017-02-01 | 1 | -0/+80 | |
| |/ | ||||||
| * | Fix DeprecationWarning: generator '__iter__' raised StopIterationfix-iter-warning | NotSqrt | 2017-01-04 | 1 | -20/+26 | |
| | | | | | | | | Closes #498 | |||||
* | | Autonumbered args not available in Python 2.6 | Daniele Varrazzo | 2017-01-03 | 1 | -7/+7 | |
| | | ||||||
* | | Several improvements to the sql objects | Daniele Varrazzo | 2017-01-03 | 1 | -76/+95 | |
| | | | | | | | | Comparable, iterable, content accessible | |||||
* | | Use {} instead of %s placeholders in SQL composition | Daniele Varrazzo | 2017-01-03 | 1 | -135/+84 | |
| | | ||||||
* | | More doc love for the sql module | Daniele Varrazzo | 2017-01-01 | 1 | -19/+39 | |
| | | ||||||
* | | sql module docs wordsmithing | Daniele Varrazzo | 2017-01-01 | 1 | -4/+4 | |
| | | ||||||
* | | Dropped sql.compose | Daniele Varrazzo | 2017-01-01 | 1 | -16/+28 | |
| | | | | | | | | Use a SQL % operator instead. | |||||
* | | Adding sql module documentation | Daniele Varrazzo | 2017-01-01 | 1 | -24/+147 | |
| | | ||||||
* | | Typo: composible -> composable | Daniele Varrazzo | 2017-01-01 | 1 | -10/+10 | |
| | | ||||||
* | | Fixed sql.compose with no args and added tests | Daniele Varrazzo | 2017-01-01 | 1 | -4/+4 | |
| | | ||||||
* | | Fixed sql.Composed representation | Daniele Varrazzo | 2017-01-01 | 1 | -1/+1 | |
| | | ||||||
* | | Fixed sql stuff in Py3 | Daniele Varrazzo | 2017-01-01 | 1 | -9/+15 | |
| | | ||||||
* | | Added sql.compose() implementation | Daniele Varrazzo | 2017-01-01 | 1 | -2/+98 | |
| | | ||||||
* | | Added basic sql module implementation | Daniele Varrazzo | 2017-01-01 | 1 | -0/+174 | |
| | | ||||||
* | | Adding some boilerplate for the new module | Daniele Varrazzo | 2017-01-01 | 1 | -0/+25 | |
|/ | ||||||
* | Don't try to write bytes in the LoggingConnection file | Daniele Varrazzo | 2016-12-29 | 1 | -0/+2 | |
| | | | | Close #483 | |||||
* | Fix "invalid escape sequence" warning in Python 3.6 | Tim Graham | 2016-12-25 | 1 | -1/+1 | |
| | | | | http://bugs.python.org/issue27364 | |||||
* | Added ipaddress objects conversion | Daniele Varrazzo | 2016-10-11 | 2 | -0/+93 | |
| | | | | Close #387 | |||||
* | inet adapters deprecated | Daniele Varrazzo | 2016-10-11 | 1 | -0/+5 | |
| | | | | Close #343 | |||||
* | Python source cleanup using flake8 | Daniele Varrazzo | 2016-10-11 | 9 | -139/+187 | |
| | ||||||
* | Dropped use of b() "macro" and 2to3 fixer | Daniele Varrazzo | 2016-08-15 | 3 | -27/+17 | |
| | | | | Just use the b"" strings syntax supported from python 2.6. | |||||
* | Merge branch 'replication-protocol' | Daniele Varrazzo | 2016-08-14 | 1 | -1/+122 | |
|\ | ||||||
| * | Merge branch 'master' into replication-protocol | Daniele Varrazzo | 2016-08-07 | 1 | -0/+4 | |
| |\ | | | | | | | | | | | | | Conflicts: tests/testconfig.py | |||||
| * | | Move replication-related imports to extras.py | Oleksandr Shulgin | 2016-03-08 | 2 | -6/+4 | |
| | | | ||||||
| * | | Use python-defined make_dsn() for ReplicationConnection class | Oleksandr Shulgin | 2016-03-08 | 2 | -14/+3 | |
| | | |