Daniele Varrazzo
b0ddf6ea90
Merge branch 'cockroachdb-tests'
2020-08-18 20:55:13 +01:00
Daniele Varrazzo
423a663306
Python 2 compatibility
2020-08-17 23:50:04 +01:00
Daniele Varrazzo
f339bb30fb
Added possibility to skip a test only on certain crdb versions
2020-08-17 23:08:05 +01:00
Daniele Varrazzo
5d2e51e76e
Added ticket numbers for the tests skipped on crdb
2020-08-17 22:31:48 +01:00
Daniele Varrazzo
6d8382b7ed
Added missing reasons for crdb skip
...
Added check to make sure a reason must be passed.
2020-08-17 21:27:25 +01:00
Daniele Varrazzo
513b0019b1
TeamCity commit hook test
2020-08-04 22:29:24 +01:00
Daniele Varrazzo
6eb4fab1db
Added reason for skipping on CockroachDB
2020-07-27 23:03:26 +01:00
Daniele Varrazzo
5e957daa82
Types tests adapted to CockroachDB
2020-07-23 01:56:58 +01:00
Daniele Varrazzo
c8697e6c67
Several other tests skipped for CockroachDB
...
The only remaining test modules in this branch are test_types_basic/extra.
2020-07-22 02:43:19 +01:00
Daniele Varrazzo
a9153ac373
Some extra cursors test skipped on CockroachDB
...
Skip named cursor tests
2020-07-22 02:14:18 +01:00
Daniele Varrazzo
701637b5fa
Skip a few date tests on CockroachDB
...
- Infinity gets converted to large dates in the past/future out of
Python range
- Timestamps get an UTC timezone attached
2020-07-22 02:05:05 +01:00
Daniele Varrazzo
5ccd977e2b
Cursor tests adapted to CockroachDB
...
Named cursor tests separated to skip all in one go
2020-07-21 22:23:27 +01:00
Daniele Varrazzo
9380f2a721
Get CockroachDB version from the connection info
2020-07-21 22:22:58 +01:00
Daniele Varrazzo
7e1e801899
Skip copy tests on CockroachDB
2020-07-21 22:22:55 +01:00
Daniele Varrazzo
e154cbe5aa
Skip connection tests which cannot pass on CockroachDB
...
Features not supported seem:
- isolation level (always serializable)
- client encodings
- notices (maybe there is a way to generate them)
- 2 phase commit
- reset (because of the lack of transaction deferrable)
- backend pid
2020-07-21 22:22:23 +01:00
Daniele Varrazzo
bca72937d8
Expose libpq PG* vars as testconfig content
2020-07-21 22:21:44 +01:00
Daniele Varrazzo
f8c1cff6a3
Skip cancel tests on CockroachDB
...
One test moved to the async tests module, as it really belongs there.
2020-07-21 22:21:32 +01:00
Daniele Varrazzo
ee34198bf6
All the sync tests pass on CockroachDB
...
Added decorator to skip tests on crdb
2020-07-21 22:21:24 +01:00
Daniele Varrazzo
659910ee81
Allow most of the async tests to pass on CockroachDB
...
Added function to get crdb version from a connection
2020-07-21 01:43:57 +01:00
Daniele Varrazzo
cecff195fc
Merge pull request #1127 from rafiss/iso-level-finally-block
...
Handle failure in setup of IsolationLevelsTestCase
2020-07-08 20:35:01 +01:00
Rafi Shamim
a61f30b2d2
Handle failure in setup of IsolationLevelsTestCase
...
If the CREATE TABLE statement fails, the setup would fail
without committing or rolling back the active transaction, so the
transaction would hold onto its resources indefinitely.
Normally, the transaction would be closed when the connection is closed
in the `tearDown` function. However, `tearDown` is not called if there
was an error during `setUp` ([as specified by the `unittest` docs](https://docs.python.org/3/library/unittest.html#unittest.TestCase.tearDown )), so
we need to handle this case specially.
2020-07-07 18:48:44 -04:00
Daniele Varrazzo
779a1370ce
Merge pull request #1105 from rafiss/with-block-connection-test
...
Handle failure in setup of ConnectionTwoPhaseTest
2020-05-30 04:43:26 +12:00
Daniele Varrazzo
1092d437c0
Merge pull request #1111 from cjolif/master
...
use new URL for psycogreen
2020-05-29 01:37:06 +12:00
Christophe Jolif
1afbaf495e
use new URL for psycogreen
2020-05-28 14:11:34 +02:00
Daniele Varrazzo
a9b814cb53
Merge pull request #1110 from UpGado/patch-1
...
Fix ctypes doc example AttributeError
2020-05-27 22:25:15 +12:00
Dio Gado
ac488acee3
Fix ctypes example AttributeError
2020-05-27 05:39:53 -04:00
Rafi Shamim
f935476b3f
Handle failure in setup of ConnectionTwoPhaseTest
...
Previously, this test had a bug, because if the CREATE TABLE statement
failed, the setup would fail without committing or rolling back the
active transaction.
2020-05-12 12:48:35 -04:00
Daniele Varrazzo
14355e9c69
Merge pull request #1103 from franciscouzo/patch-1
...
Fix typo
2020-05-07 19:39:48 +12:00
Francisco Couzo
7fdf77065d
Fix typo
2020-05-07 04:11:50 -03:00
Daniele Varrazzo
690772f093
Merge branch 'mx-search'
2020-05-06 16:02:00 +12:00
Daniele Varrazzo
a75afe4d83
Mention fixing mx search in news file
...
Close #996 .
2020-05-06 14:46:58 +12:00
Colin 't Hart
f9442744af
Fixed search of mxDateTime headers
...
- Find mxDateTime.h automatically on path directories.
- Prefer mxDateTime.h found in venv over one found in /usr/include.
2020-05-06 14:42:10 +12:00
Daniele Varrazzo
1ec0bb5633
Mention python3-dev as possibly required dev package name
...
Close #1092 .
2020-05-05 00:23:57 +12:00
Daniele Varrazzo
87279d5d03
Mention CALL on stored procedures using transaction in autocommit
...
Close #1072 - I prefer to mention them where there is a discussion of
the feature rather than in the method or const values section.
2020-05-05 00:19:38 +12:00
Daniele Varrazzo
accd1965bb
Merge remote-tracking branch 'pombredanne/patch-1'
2020-05-04 23:55:29 +12:00
Daniele Varrazzo
d0216ce68d
Merge branch 'client-encoding-leak'
2020-05-04 23:53:08 +12:00
Daniele Varrazzo
a35549d0ad
Mention ticket #1101 closed in news file
2020-05-04 23:52:58 +12:00
Daniele Varrazzo
6043dac0ea
Bump to next dev release
2020-05-04 23:50:05 +12:00
Kevin Michel
364b0e0563
Fix memory leak in conn_set_client_encoding
...
If the specified encoding is the same as the current one,
the early exit did not release the clean_enc string allocated
by clear_encoding_name.
2020-05-04 09:40:36 +02:00
Philippe Ombredanne
4c3e0e5f1d
Improve doc wording
...
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
2020-04-28 22:37:59 +02:00
Philippe Ombredanne
75c659a5e7
Fix typo and improve grammar in doc
...
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
2020-04-28 22:27:29 +02:00
Federico Di Gregorio
8b2450287e
Removed ZPL license ( closes : #1087 )
2020-04-28 18:53:14 +02:00
Daniele Varrazzo
cb3353be1f
Releasing psycopg 2.8.5
2020-04-06 17:00:57 +12:00
Daniele Varrazzo
f2852a520a
Merge branch 'add-aix-support'
2020-04-06 16:49:42 +12:00
Daniele Varrazzo
012a20b010
Mention AIX support in NEWS file
2020-04-06 16:46:44 +12:00
Jon Dufresne
fbba461052
Fix typo: occured → occurred
2020-04-06 16:40:45 +12:00
Daniele Varrazzo
62743c3be1
Fixed copy() on DictRow
...
Close #1073 .
2020-04-06 14:10:02 +12:00
Abdirahim Musse
6de23eb793
fixup! feat: Add AIX support
2020-03-12 13:21:02 -05:00
Daniele Varrazzo
2bee47efac
Merge branch 'column-slice'
2020-03-13 00:17:57 +13:00
Daniele Varrazzo
054123254e
Column objects can be sliced
...
Close #1034 .
2020-03-11 10:50:56 +13:00