summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert default_transaction_* to default only if setsession-attributesDaniele Varrazzo2017-02-161-9/+13
| | | | | | When moving from autocommit True -> False reset only the server parameters that were actually specified by psycopg to honour the serssion characteristics.
* Check for deferrable unsupported applied to attribute tooDaniele Varrazzo2017-02-162-7/+8
|
* Added readonly and deferrable attributesDaniele Varrazzo2017-02-168-61/+270
|
* Revert pre-2.7b1 behaviour of silent rollback on conn.set_isolation_level()Daniele Varrazzo2017-02-164-17/+36
| | | | Legacy method is legacy.
* connection.isolation_level is now writableDaniele Varrazzo2017-02-165-108/+256
|
* Link COPY from docs index to our docs instead of postgres onesDaniele Varrazzo2017-02-161-3/+1
|
* SQL links not bold in the docsDaniele Varrazzo2017-02-161-0/+5
| | | | Consistent with the SQL representation not linked.
* Merge branch 'pull-507'Daniele Varrazzo2017-02-114-9/+41
|\
| * Allowed inittype.h's defs all versions of MSVCJason Erickson2017-02-101-2/+0
| | | | | | | | | | Apparently only MSVC 2015 x64 had defined these types. Changed check to work for all versions of MSVC. Does not affect 2015x64.
| * Defined inttypes.h for older MSVC compilersJason Erickson2017-02-091-0/+11
| | | | | | | | Older MSVC compilers do not support the C99 standard
| * Added support for MSVC compilerJason Erickson2017-02-093-7/+30
| | | | | | | | | | | | Added function 'timeradd'. Changed second parameter of 'gettimeofday' to void since not used in function and MSVC timezone definition is not a struct).
| * Fixed MSVC compiler error and warningJason Erickson2017-02-091-2/+2
| | | | | | | | | | MSVC doesn't like referencing new initialized variables in the variable declaration section.
* | Download testing servers from upload instead of tarballsDaniele Varrazzo2017-02-081-1/+1
| |
* | Fixed generation of download url from beta versionDaniele Varrazzo2017-02-081-1/+2
| |
* | Fixed argument name in executemany docsDaniele Varrazzo2017-02-081-1/+1
| |
* | Bump version numberDaniele Varrazzo2017-02-081-1/+1
|/
* Bump version to 2.7 beta 12_7_BETA_1Daniele Varrazzo2017-02-081-1/+1
|
* Dropped references to prepare in cur.execute[many] docsDaniele Varrazzo2017-02-081-6/+5
| | | | They were copied from the DBAPI spec but that's not how psycopg works.
* Dropped compiler warning about signed/unsigned comparisonsDaniele Varrazzo2017-02-082-3/+3
|
* Don't convert '{}'::unknown into an empty listDaniele Varrazzo2017-02-083-12/+8
| | | | Close #506.
* Use pydll to poke into extension libraryDaniele Varrazzo2017-02-071-1/+1
| | | | | | Causes an error in Py 3.6 in debug mode. Close #505
* Stop a docstring generating a warningDaniele Varrazzo2017-02-071-1/+1
| | | | Valid reST, slightly less valid Python.
* Merge branch 'no-set-default-session'Daniele Varrazzo2017-02-0710-313/+360
|\
| * Fixed BEGIN; SET TRANSACTION with PG 7.4no-set-default-sessionDaniele Varrazzo2017-02-071-8/+16
| |
| * Added documentation about the changes in transaction controlDaniele Varrazzo2017-02-044-21/+79
| |
| * Set default_transaction_* GUC if session state is changed in autocomitDaniele Varrazzo2017-02-044-30/+102
| |
| * Exposing ISOLATION_LEVEL_DEFAULT to PythonDaniele Varrazzo2017-02-043-1/+11
| | | | | | | | | | This is now the state that is returned to Python if nothing has been explicitly set.
| * Reuse set_session to implement autocommit, set_isolation_levelDaniele Varrazzo2017-02-043-63/+43
| |
| * Better separation between interface and state change codeDaniele Varrazzo2017-02-043-91/+110
| | | | | | | | The state change function has a C callable signature.
| * Test looking the transactions characteristics instead of the defaultDaniele Varrazzo2017-02-041-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).
| * Don't use default_transaction_* for session characteristicsDaniele Varrazzo2017-02-044-259/+159
| | | | | | | | | | | | | | | | | | Store the state in the connection object and set the params on BEGIN Some tests fail: a few can be fixed reading transaction_* instead of default_transaction_*; but the behaviour of tx characteristics with autocommit is effectively changed. It may be addressed by setting default_transaction_* if autocommit is set.
* | Merge branch 'test-dinosaurs'Daniele Varrazzo2017-02-0713-116/+248
|\ \
| * | Skipped a couple of tests failing on old dbstest-dinosaursDaniele Varrazzo2017-02-062-0/+2
| | | | | | | | | | | | I don't even know why - worth investigating.
| * | Skip tests with server not supporting NULL in arrayDaniele Varrazzo2017-02-061-3/+6
| | |
| * | Don't test with server not implementing INSERT with VALUES listDaniele Varrazzo2017-02-061-4/+8
| | |
| * | Deal consistently with E'' quotes in testsDaniele Varrazzo2017-02-065-41/+41
| | |
| * | Work around a race condition in async cancel testDaniele Varrazzo2017-02-062-3/+10
| | |
| * | assertDsnEqual moved as TestSuite methodDaniele Varrazzo2017-02-064-22/+25
| | |
| * | Run the test suite with postgres versions not available on travisDaniele Varrazzo2017-02-062-44/+157
| | |
* | | Dropped support for Python 3.1Daniele Varrazzo2017-02-063-3/+2
| | |
* | | build-manylinux script moved to build-wheels projectDaniele Varrazzo2017-02-061-50/+0
|/ /
* | Merge branch 'conform-subclass-adapter'Daniele Varrazzo2017-02-053-10/+25
|\ \
| * | Give precedence to '__conform__()' over superclasses choosing adapterDaniele Varrazzo2017-02-053-10/+25
| |/ | | | | | | Close #456
| * Dropped compiler warning in debug modeDaniele Varrazzo2017-02-041-3/+3
| |
* | Slower timeout for a test that sometimes failDaniele Varrazzo2017-02-051-1/+1
| | | | | | | | | | At least it should fail with an error after 2 seconds, not waiting for Travis timeout of 10 minutes.
* | Dropped compiler warning in debug modeDaniele Varrazzo2017-02-051-3/+3
| |
* | Merge pull request #504 from fogzot/pgversion-fixFederico Di Gregorio2017-02-041-1/+3
|\ \ | |/ |/| Fixed version regexp to match "10devel"
| * Fixed version regexp to match "10devel"Federico Di Gregorio2017-02-041-1/+3
|/ | | | | Also normalized the result and made sure that if PostgreSQL ever starts using just integer version numbers (as in "10") everything still works.
* Merge branch 'master' into sql-composesql-composeDaniele Varrazzo2017-02-0334-105/+922
|\
| * Misplaced NEWS entry fixed.Daniele Varrazzo2017-02-031-2/+2
| |