summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Remove workarounds for namedtuple on Python <= 2.5Jon Dufresne2017-11-261-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 projectJon Dufresne2017-11-201-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 Varrazzo2017-08-311-6/+11
| | | | With bonus typos dropped.
* Use an import style reported not broken on Python 3.6Daniele Varrazzo2017-06-173-4/+4
| | | | Couldn't reproduce the issue but it has been documented in #550.
* Added Json.prepare()fix-562Daniele Varrazzo2017-06-161-1/+8
| | | | Close #562
* Error codes updated to PG 10 beta 1Daniele Varrazzo2017-06-051-0/+3
|
* errcodes updated to PG 9.6Daniele Varrazzo2017-06-051-0/+5
|
* Note that the fast executemany functions don't respect rowcountDaniele Varrazzo2017-03-281-0/+6
| | | | See issue #540
* Expose *DATETIMETZ* objects in the extensions moduleDaniele Varrazzo2017-03-221-4/+4
|
* Dropped repeated doc links in the same paragraphDaniele Varrazzo2017-03-161-6/+6
| | | | And some more sql docs cleanup.
* Added docs about the usability of sql objects with copy_expert()sql-copyDaniele Varrazzo2017-03-161-5/+6
| | | | See issue #529.
* Added test to verify sql objects work with copy_expert()Daniele Varrazzo2017-03-161-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-517Daniele Varrazzo2017-03-011-0/+3
| | | | Close #517.
* connection.isolation_level is now writableDaniele Varrazzo2017-02-161-1/+1
|
* Stop a docstring generating a warningDaniele Varrazzo2017-02-071-1/+1
| | | | Valid reST, slightly less valid Python.
* Exposing ISOLATION_LEVEL_DEFAULT to PythonDaniele Varrazzo2017-02-041-0/+1
| | | | | This is now the state that is returned to Python if nothing has been explicitly set.
* Merge branch 'master' into sql-composesql-composeDaniele Varrazzo2017-02-032-24/+175
|\
| * Merge branch 'async-keyword'Daniele Varrazzo2017-02-031-4/+10
| |\ | | | | | | | | | Close #495
| | * Added async_ as an alias for asyncDaniele Varrazzo2017-02-031-4/+10
| | | | | | | | | | | | | | | Added in argument for psycopg2.connect() and connection.__init__, and for the connection.async attribute.
| * | Further minimal performance tweaks to execute_valuesfast-executemanyDaniele Varrazzo2017-02-021-5/+6
| | |
| * | Avoid an useless encode/decode roundtrip in execute_values()Daniele Varrazzo2017-02-021-4/+44
| | | | | | | | | | | | Tests moved into a separate module.
| * | Better docs for fast executemany functions.Daniele Varrazzo2017-02-021-15/+31
| | | | | | | | | | | | Issue #502.
| * | Fixed execute_values with unicodeDaniele Varrazzo2017-02-011-1/+1
| | | | | | | | | | | | Also added unicode tests.
| * | Fixed fast execute functions with Python 3Daniele Varrazzo2017-02-011-2/+4
| | |
| * | Added execute_batch and execute_values functionsDaniele Varrazzo2017-02-011-0/+80
| |/
| * Fix DeprecationWarning: generator '__iter__' raised StopIterationfix-iter-warningNotSqrt2017-01-041-20/+26
| | | | | | | | Closes #498
* | Autonumbered args not available in Python 2.6Daniele Varrazzo2017-01-031-7/+7
| |
* | Several improvements to the sql objectsDaniele Varrazzo2017-01-031-76/+95
| | | | | | | | Comparable, iterable, content accessible
* | Use {} instead of %s placeholders in SQL compositionDaniele Varrazzo2017-01-031-135/+84
| |
* | More doc love for the sql moduleDaniele Varrazzo2017-01-011-19/+39
| |
* | sql module docs wordsmithingDaniele Varrazzo2017-01-011-4/+4
| |
* | Dropped sql.composeDaniele Varrazzo2017-01-011-16/+28
| | | | | | | | Use a SQL % operator instead.
* | Adding sql module documentationDaniele Varrazzo2017-01-011-24/+147
| |
* | Typo: composible -> composableDaniele Varrazzo2017-01-011-10/+10
| |
* | Fixed sql.compose with no args and added testsDaniele Varrazzo2017-01-011-4/+4
| |
* | Fixed sql.Composed representationDaniele Varrazzo2017-01-011-1/+1
| |
* | Fixed sql stuff in Py3Daniele Varrazzo2017-01-011-9/+15
| |
* | Added sql.compose() implementationDaniele Varrazzo2017-01-011-2/+98
| |
* | Added basic sql module implementationDaniele Varrazzo2017-01-011-0/+174
| |
* | Adding some boilerplate for the new moduleDaniele Varrazzo2017-01-011-0/+25
|/
* Don't try to write bytes in the LoggingConnection fileDaniele Varrazzo2016-12-291-0/+2
| | | | Close #483
* Fix "invalid escape sequence" warning in Python 3.6Tim Graham2016-12-251-1/+1
| | | | http://bugs.python.org/issue27364
* Added ipaddress objects conversionDaniele Varrazzo2016-10-112-0/+93
| | | | Close #387
* inet adapters deprecatedDaniele Varrazzo2016-10-111-0/+5
| | | | Close #343
* Python source cleanup using flake8Daniele Varrazzo2016-10-119-139/+187
|
* Dropped use of b() "macro" and 2to3 fixerDaniele Varrazzo2016-08-153-27/+17
| | | | Just use the b"" strings syntax supported from python 2.6.
* Merge branch 'replication-protocol'Daniele Varrazzo2016-08-141-1/+122
|\
| * Merge branch 'master' into replication-protocolDaniele Varrazzo2016-08-071-0/+4
| |\ | | | | | | | | | | | | Conflicts: tests/testconfig.py
| * | Move replication-related imports to extras.pyOleksandr Shulgin2016-03-082-6/+4
| | |
| * | Use python-defined make_dsn() for ReplicationConnection classOleksandr Shulgin2016-03-082-14/+3
| | |