Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert default_transaction_* to default only if setsession-attributes | Daniele Varrazzo | 2017-02-16 | 1 | -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 too | Daniele Varrazzo | 2017-02-16 | 2 | -7/+8 |
| | |||||
* | Added readonly and deferrable attributes | Daniele Varrazzo | 2017-02-16 | 8 | -61/+270 |
| | |||||
* | Revert pre-2.7b1 behaviour of silent rollback on conn.set_isolation_level() | Daniele Varrazzo | 2017-02-16 | 4 | -17/+36 |
| | | | | Legacy method is legacy. | ||||
* | connection.isolation_level is now writable | Daniele Varrazzo | 2017-02-16 | 5 | -108/+256 |
| | |||||
* | Link COPY from docs index to our docs instead of postgres ones | Daniele Varrazzo | 2017-02-16 | 1 | -3/+1 |
| | |||||
* | SQL links not bold in the docs | Daniele Varrazzo | 2017-02-16 | 1 | -0/+5 |
| | | | | Consistent with the SQL representation not linked. | ||||
* | Merge branch 'pull-507' | Daniele Varrazzo | 2017-02-11 | 4 | -9/+41 |
|\ | |||||
| * | Allowed inittype.h's defs all versions of MSVC | Jason Erickson | 2017-02-10 | 1 | -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 compilers | Jason Erickson | 2017-02-09 | 1 | -0/+11 |
| | | | | | | | | Older MSVC compilers do not support the C99 standard | ||||
| * | Added support for MSVC compiler | Jason Erickson | 2017-02-09 | 3 | -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 warning | Jason Erickson | 2017-02-09 | 1 | -2/+2 |
| | | | | | | | | | | MSVC doesn't like referencing new initialized variables in the variable declaration section. | ||||
* | | Download testing servers from upload instead of tarballs | Daniele Varrazzo | 2017-02-08 | 1 | -1/+1 |
| | | |||||
* | | Fixed generation of download url from beta version | Daniele Varrazzo | 2017-02-08 | 1 | -1/+2 |
| | | |||||
* | | Fixed argument name in executemany docs | Daniele Varrazzo | 2017-02-08 | 1 | -1/+1 |
| | | |||||
* | | Bump version number | Daniele Varrazzo | 2017-02-08 | 1 | -1/+1 |
|/ | |||||
* | Bump version to 2.7 beta 12_7_BETA_1 | Daniele Varrazzo | 2017-02-08 | 1 | -1/+1 |
| | |||||
* | Dropped references to prepare in cur.execute[many] docs | Daniele Varrazzo | 2017-02-08 | 1 | -6/+5 |
| | | | | They were copied from the DBAPI spec but that's not how psycopg works. | ||||
* | Dropped compiler warning about signed/unsigned comparisons | Daniele Varrazzo | 2017-02-08 | 2 | -3/+3 |
| | |||||
* | Don't convert '{}'::unknown into an empty list | Daniele Varrazzo | 2017-02-08 | 3 | -12/+8 |
| | | | | Close #506. | ||||
* | Use pydll to poke into extension library | Daniele Varrazzo | 2017-02-07 | 1 | -1/+1 |
| | | | | | | Causes an error in Py 3.6 in debug mode. Close #505 | ||||
* | Stop a docstring generating a warning | Daniele Varrazzo | 2017-02-07 | 1 | -1/+1 |
| | | | | Valid reST, slightly less valid Python. | ||||
* | Merge branch 'no-set-default-session' | Daniele Varrazzo | 2017-02-07 | 10 | -313/+360 |
|\ | |||||
| * | Fixed BEGIN; SET TRANSACTION with PG 7.4no-set-default-session | Daniele Varrazzo | 2017-02-07 | 1 | -8/+16 |
| | | |||||
| * | Added documentation about the changes in transaction control | Daniele Varrazzo | 2017-02-04 | 4 | -21/+79 |
| | | |||||
| * | Set default_transaction_* GUC if session state is changed in autocomit | Daniele Varrazzo | 2017-02-04 | 4 | -30/+102 |
| | | |||||
| * | Exposing ISOLATION_LEVEL_DEFAULT to Python | Daniele Varrazzo | 2017-02-04 | 3 | -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_level | Daniele Varrazzo | 2017-02-04 | 3 | -63/+43 |
| | | |||||
| * | Better separation between interface and state change code | Daniele Varrazzo | 2017-02-04 | 3 | -91/+110 |
| | | | | | | | | The state change function has a C callable signature. | ||||
| * | 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). | ||||
| * | Don't use default_transaction_* for session characteristics | Daniele Varrazzo | 2017-02-04 | 4 | -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 Varrazzo | 2017-02-07 | 13 | -116/+248 |
|\ \ | |||||
| * | | Skipped a couple of tests failing on old dbstest-dinosaurs | Daniele Varrazzo | 2017-02-06 | 2 | -0/+2 |
| | | | | | | | | | | | | I don't even know why - worth investigating. | ||||
| * | | Skip tests with server not supporting NULL in array | Daniele Varrazzo | 2017-02-06 | 1 | -3/+6 |
| | | | |||||
| * | | Don't test with server not implementing INSERT with VALUES list | Daniele Varrazzo | 2017-02-06 | 1 | -4/+8 |
| | | | |||||
| * | | Deal consistently with E'' quotes in tests | Daniele Varrazzo | 2017-02-06 | 5 | -41/+41 |
| | | | |||||
| * | | Work around a race condition in async cancel test | Daniele Varrazzo | 2017-02-06 | 2 | -3/+10 |
| | | | |||||
| * | | assertDsnEqual moved as TestSuite method | Daniele Varrazzo | 2017-02-06 | 4 | -22/+25 |
| | | | |||||
| * | | Run the test suite with postgres versions not available on travis | Daniele Varrazzo | 2017-02-06 | 2 | -44/+157 |
| | | | |||||
* | | | Dropped support for Python 3.1 | Daniele Varrazzo | 2017-02-06 | 3 | -3/+2 |
| | | | |||||
* | | | build-manylinux script moved to build-wheels project | Daniele Varrazzo | 2017-02-06 | 1 | -50/+0 |
|/ / | |||||
* | | Merge branch 'conform-subclass-adapter' | Daniele Varrazzo | 2017-02-05 | 3 | -10/+25 |
|\ \ | |||||
| * | | Give precedence to '__conform__()' over superclasses choosing adapter | Daniele Varrazzo | 2017-02-05 | 3 | -10/+25 |
| |/ | | | | | | | Close #456 | ||||
| * | Dropped compiler warning in debug mode | Daniele Varrazzo | 2017-02-04 | 1 | -3/+3 |
| | | |||||
* | | Slower timeout for a test that sometimes fail | Daniele Varrazzo | 2017-02-05 | 1 | -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 mode | Daniele Varrazzo | 2017-02-05 | 1 | -3/+3 |
| | | |||||
* | | Merge pull request #504 from fogzot/pgversion-fix | Federico Di Gregorio | 2017-02-04 | 1 | -1/+3 |
|\ \ | |/ |/| | Fixed version regexp to match "10devel" | ||||
| * | Fixed version regexp to match "10devel" | Federico Di Gregorio | 2017-02-04 | 1 | -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-compose | Daniele Varrazzo | 2017-02-03 | 34 | -105/+922 |
|\ | |||||
| * | Misplaced NEWS entry fixed. | Daniele Varrazzo | 2017-02-03 | 1 | -2/+2 |
| | |