Commit Graph

2869 Commits

Author SHA1 Message Date
Yusuke Hayashi
76db378e13 Fix typo 2021-05-22 14:31:46 +02:00
Daniele Varrazzo
1a455035fc Add Python 3.9 to travis test grid 2021-05-20 17:00:24 +02:00
Chris Wilson
af62637637 Add warning about send_feedback and cursor choice 2021-05-20 16:33:15 +02:00
Hans Ginzel
2ec5d0face cursor.rst typo: was creates
name attribute: “cursor was creates” → “was created”
2021-05-20 16:26:31 +02:00
Daniele Varrazzo
2ea289c8a2 Drop unsupported Python versions from Travis test grid 2021-05-20 16:23:08 +02:00
Sandro Mani
46dcadbe38 Don't abort if sqlstate_errors or psycoEncodings are already initialized 2021-05-20 16:19:30 +02:00
Daniele Varrazzo
263ace6657 Add note about cursor.callproc() and PostgreSQL procedures
Close #1155
2021-05-20 14:13:19 +02:00
Daniele Varrazzo
7479e6b31e Add note about sending multiple statements in the same query
Close #1214
2021-05-20 14:00:39 +02:00
Daniele Varrazzo
19eb047a41 Fix NEWS typo 2021-05-20 13:12:55 +02:00
Daniele Varrazzo
24ef5c60dc Fix segfault initialising Column object manually
Close #1252
2021-05-20 13:01:56 +02:00
Daniele Varrazzo
56dab8398d Accept no param in connect()
More friendly towards ``connect(**parse_dsn())``, and what psycopg3 does.

Close #1250
2021-05-20 12:37:53 +02:00
Tim Gates
ba637a5e0c docs: fix a few simple typos
There are small typos in:
- doc/src/faq.rst
- psycopg/cursor_type.c
- psycopg/xid_type.c
- scripts/make_errorcodes.py
- scripts/make_errors.py
- tests/dbapi20.py
- tests/test_connection.py

Fixes:
- Should read `publicly` rather than `publically`.
- Should read `unicode` rather than `uniconde`.
- Should read `supposed` rather than `suppsed`.
- Should read `something` rather than `somenthing`.
- Should read `portable` rather than `portible`.
- Should read `exhausted` rather than `exausted`.
- Should read `compliance` rather than `compiliance`.

Closes #1275
2021-05-20 12:22:55 +02:00
Jason Erickson
9d8c7a7036 Update build to use PostgreSQL 11.10 source 2020-11-13 13:00:09 -07:00
Jason Erickson
154af9a788 Remove old patch for Postgres 9.6 and OpenSSL 1.1 2020-11-13 12:59:00 -07:00
Jason Erickson
25ccbd0445 Build more OpenSSL binaries and add to path
More recent verions of the PostgreSQL source code requires some OpenSSL
binaries to be on the PATH.
2020-11-13 12:59:00 -07:00
Jason Erickson
a17cc0181a Combine included libraries into one parameter
build_ext only grabs one '-l' parameter, not multiple, which is weird as
one time I thought it did.
2020-11-13 12:59:00 -07:00
Daniele Varrazzo
541b93279f Publish docs from the maint_2_8 branch 2020-11-09 23:16:49 +00:00
Daniele Varrazzo
7ad357599f Merge branch 'py39-appveyor' 2020-11-04 21:22:45 +01:00
Jason Erickson
31b37685b7 Settings for Py39/VS2019 builds + OpenSSL update 2020-11-04 21:21:58 +01:00
Jason Erickson
163dadb6c6 Add Strawberry Perl to the path 2020-11-04 21:21:58 +01:00
Jason Erickson
ec39e1e406 Add VC 2019 path location 2020-11-04 21:21:58 +01:00
Daniele Varrazzo
7cd7b97d5d First batch of changes to build on appveyor with Python 3.9 2020-11-04 21:20:27 +01:00
Jannis Vamvas
616dab7064 Remove semicolon from code example 2020-10-20 18:07:51 +02:00
Daniele Varrazzo
f54cf3b87b Bump to next dev release 2020-09-06 17:24:33 +01:00
Daniele Varrazzo
dd97344149 Suggest how to auto-generate tag name in release doc 2020-09-06 17:24:04 +01:00
Daniel Fortunov
171371da5a Minor spelling and grammar corrections for 195b254 2020-09-06 17:23:37 +01:00
Daniele Varrazzo
b203be11a6 Bump version to 2.8.6 2020-09-05 23:29:47 +01:00
Daniele Varrazzo
dc007e790a Metion ARM packages in news file 2020-09-05 22:07:26 +01:00
Daniele Varrazzo
dec28a21ac 'cursor.query' reports the query of the last COPY opearation too
Close #1141.
2020-09-05 21:47:35 +01:00
Daniele Varrazzo
dd1724c447 Errors mapping updated to PostgreSQL 13 2020-09-05 20:26:19 +01:00
Daniele Varrazzo
c203d681c4 Added duplicate values to errcodes module
Close #1133
2020-09-05 20:26:19 +01:00
Daniele Varrazzo
58c6a07e43 Errors fetch scripts ported to Python 3 2020-09-05 20:26:19 +01:00
Daniele Varrazzo
195b254937 Improve wording around transactions behaviour closing connections
The transaction is not rolled back by the connection, rather discarded
by the server.

Close #1135.
2020-09-05 19:16:50 +01:00
Daniele Varrazzo
0ee9d840a1 Document context manager usage in connection and cursor docs
Close #1143
2020-09-05 18:51:33 +01:00
Daniele Varrazzo
9387bd3c09 Mention building wheels package with OpenSSL 1.1.1g in news file 2020-09-05 18:04:45 +01:00
odidev
6de8c0c6d2 Add ARM64 jobs in Travis-CI
Signed-off-by: odidev <odidev@puresoftware.com>
2020-08-25 06:37:53 +00:00
Daniele Varrazzo
f7618f8bf5
Merge pull request #1120 from bashtanov/dictcursor-docs-improvement
DictCursor docs improvement
2020-08-24 01:56:17 +01:00
Daniele Varrazzo
3aadecebaa
Merge pull request #1131 from jouve/py3.10compat
use Py_SET_TYPE for compat with python 3.10
2020-08-24 01:54:57 +01:00
Daniele Varrazzo
90e8c80ed1 Merge branch 'docs/quick-start' 2020-08-24 01:48:50 +01:00
Daniele Varrazzo
82d679cdb3 A few corrections to the install page
Spacing, lines length, a spurious link targed, reST formatting.
2020-08-24 01:48:31 +01:00
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
Edan Schwartz
9c30fdbc63 minor typo in docs 2020-08-10 09:18:45 -05:00
Edan Schwartz
ed3d44562d Move pyscopg-binary install docs to "quick start" section
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
2020-08-07 15:05:45 -05: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
Cyril Jouve
442f300e91
use Py_SET_TYPE for compat with python 3.10 2020-07-26 15:41:53 +02:00