summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Python 2.7 packages build on Windows enabled backpy39-appveyorDaniele Varrazzo2020-11-041-0/+2
| | | | Dropped by mistake I guess.
* Dropped debug statements, cleanupDaniele Varrazzo2020-11-032-19/+14
|
* Settings for Py39/VS2019 builds + OpenSSL updateJason Erickson2020-10-292-19/+20
|
* Add Strawberry Perl to the pathJason Erickson2020-10-281-0/+1
|
* Add VC 2019 path locationJason Erickson2020-10-281-4/+10
|
* Use an explicit image in the yaml file to force VS 2019Daniele Varrazzo2020-10-271-1/+1
| | | | Suggested at https://github.com/appveyor/ci/issues/3541
* Trigger new build after switching image to VS 2019 in appveyor settingsDaniele Varrazzo2020-10-270-0/+0
|
* Temporary commit to list the Python versions availableDaniele Varrazzo2020-10-272-12/+15
| | | | | | | | Drop me before merging. Checking why [1] failed. [1] https://ci.appveyor.com/project/psycopg/psycopg2/builds/35977860/job/u2ehf04x6l0wth03
* Configure build on VS 2019 for Python 3.9 on appveyorDaniele Varrazzo2020-10-271-0/+3
| | | | | | | It appears to be needed, according to [1], although at the moment the executable is not found yet. [1]: https://www.appveyor.com/docs/windows-images-software/#python
* Allow building on Appveyor with Python 3.9Daniele Varrazzo2020-10-272-1/+3
| | | | This statement is going to be fun on Python 3.10...
* Bump version to 2.8.62_8_6Daniele Varrazzo2020-09-051-1/+1
|
* Metion ARM packages in news fileDaniele Varrazzo2020-09-051-0/+1
|
* 'cursor.query' reports the query of the last COPY opearation tooDaniele Varrazzo2020-09-053-0/+38
| | | | Close #1141.
* Errors mapping updated to PostgreSQL 13Daniele Varrazzo2020-09-057-4/+10
|
* Added duplicate values to errcodes moduleDaniele Varrazzo2020-09-054-6/+35
| | | | Close #1133
* Errors fetch scripts ported to Python 3Daniele Varrazzo2020-09-052-8/+8
|
* Improve wording around transactions behaviour closing connectionsDaniele Varrazzo2020-09-051-4/+8
| | | | | | | The transaction is not rolled back by the connection, rather discarded by the server. Close #1135.
* Document context manager usage in connection and cursor docsDaniele Varrazzo2020-09-052-0/+32
| | | | Close #1143
* Mention building wheels package with OpenSSL 1.1.1g in news fileDaniele Varrazzo2020-09-052-1/+2
|
* Add ARM64 jobs in Travis-CIodidev2020-08-253-23/+49
| | | | Signed-off-by: odidev <odidev@puresoftware.com>
* Merge pull request #1120 from bashtanov/dictcursor-docs-improvementDaniele Varrazzo2020-08-242-3/+6
|\ | | | | DictCursor docs improvement
| * dictcursor-docs-improvementAlexey Bashtanov2020-06-182-3/+6
| |
* | Merge pull request #1131 from jouve/py3.10compatDaniele Varrazzo2020-08-242-6/+14
|\ \ | | | | | | use Py_SET_TYPE for compat with python 3.10
| * | use Py_SET_TYPE for compat with python 3.10Cyril Jouve2020-07-262-6/+14
| | |
* | | Merge branch 'docs/quick-start'Daniele Varrazzo2020-08-241-112/+129
|\ \ \
| * | | A few corrections to the install pageDaniele Varrazzo2020-08-241-13/+9
| | | | | | | | | | | | | | | | Spacing, lines length, a spurious link targed, reST formatting.
| * | | minor typo in docsEdan Schwartz2020-08-101-1/+1
| | | |
| * | | Move pyscopg-binary install docs to "quick start" sectionEdan Schwartz2020-08-071-108/+129
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This is the fastest way for most folks to get up-and-running with psycopg. We've seen a lot of noise in the GH issues with people failng to install the non-binary version. Hopefully this will make life easier for people new to psycopg/python. See https://github.com/psycopg/psycopg2/issues/1085#issuecomment-659028139
* | | Merge branch 'cockroachdb-tests'Daniele Varrazzo2020-08-1820-271/+491
|\ \ \ | |/ / |/| |
| * | Python 2 compatibilitycockroachdb-testsDaniele Varrazzo2020-08-171-2/+2
| | |
| * | Added possibility to skip a test only on certain crdb versionsDaniele Varrazzo2020-08-171-4/+27
| | |
| * | Added ticket numbers for the tests skipped on crdbDaniele Varrazzo2020-08-171-0/+27
| | |
| * | Added missing reasons for crdb skipDaniele Varrazzo2020-08-173-7/+10
| | | | | | | | | | | | Added check to make sure a reason must be passed.
| * | TeamCity commit hook testDaniele Varrazzo2020-08-040-0/+0
| | |
| * | Added reason for skipping on CockroachDBDaniele Varrazzo2020-07-2719-89/+97
| | |
| * | Types tests adapted to CockroachDBDaniele Varrazzo2020-07-232-14/+29
| | |
| * | Several other tests skipped for CockroachDBDaniele Varrazzo2020-07-229-14/+34
| | | | | | | | | | | | The only remaining test modules in this branch are test_types_basic/extra.
| * | Some extra cursors test skipped on CockroachDBDaniele Varrazzo2020-07-222-3/+21
| | | | | | | | | | | | Skip named cursor tests
| * | Skip a few date tests on CockroachDBDaniele Varrazzo2020-07-221-1/+4
| | | | | | | | | | | | | | | | | | - Infinity gets converted to large dates in the past/future out of Python range - Timestamps get an UTC timezone attached
| * | Cursor tests adapted to CockroachDBDaniele Varrazzo2020-07-211-223/+231
| | | | | | | | | | | | Named cursor tests separated to skip all in one go
| * | Get CockroachDB version from the connection infoDaniele Varrazzo2020-07-211-14/+11
| | |
| * | Skip copy tests on CockroachDBDaniele Varrazzo2020-07-211-1/+5
| | |
| * | Skip connection tests which cannot pass on CockroachDBDaniele Varrazzo2020-07-212-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Expose libpq PG* vars as testconfig contentDaniele Varrazzo2020-07-211-4/+4
| | |
| * | Skip cancel tests on CockroachDBDaniele Varrazzo2020-07-213-8/+12
| | | | | | | | | | | | One test moved to the async tests module, as it really belongs there.
| * | All the sync tests pass on CockroachDBDaniele Varrazzo2020-07-212-5/+23
| | | | | | | | | | | | Added decorator to skip tests on crdb
| * | Allow most of the async tests to pass on CockroachDBDaniele Varrazzo2020-07-212-1/+38
|/ / | | | | | | Added function to get crdb version from a connection
* | Merge pull request #1127 from rafiss/iso-level-finally-blockDaniele Varrazzo2020-07-081-3/+5
|\ \ | |/ |/| Handle failure in setup of IsolationLevelsTestCase
| * Handle failure in setup of IsolationLevelsTestCaseRafi Shamim2020-07-071-3/+5
|/ | | | | | | | | | | 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.
* Merge pull request #1105 from rafiss/with-block-connection-testDaniele Varrazzo2020-05-301-3/+5
|\ | | | | Handle failure in setup of ConnectionTwoPhaseTest