Daniele Varrazzo
5283a835dc
chore: add TransactionTimeout error, added in PostgreSQL 17
...
Url to fetch source changed from the official Postgres one to the Github
mirror because the former throttled us.
2024-10-11 02:41:31 +02:00
Daniele Varrazzo
eaeeb76944
Merge pull request #1729 from edgarrmondragon/1692-py313-wheels
...
Build Python 3.13 wheels, drop support for Python 3.7
2024-10-11 00:17:47 +02:00
Daniele Varrazzo
563b55a725
docs: bump supported versions to Python 3.13 and Postgres 17
2024-10-08 17:08:02 +02:00
Edgar Ramírez-Mondragón
e1cf23d9c7
Drop Python 3.7 in other places
2024-10-05 01:41:20 -06:00
Anoosh Dsouza
f9780aa054
fixed a typo in doc/src/usage.rst file
2024-09-19 20:56:05 +02:00
0xTiger
658afe4cd9
docs: tiny grammar fix "a" -> "one"
2024-07-17 18:44:43 +02:00
Daniele Varrazzo
37d1de1c8f
chore: add support for Python 3.12
2023-10-03 11:39:35 +02:00
Daniele Varrazzo
abf2723c0a
chore: drop support for Python 3.6
2023-10-03 11:39:35 +02:00
Xing Guo
329f43c762
Use except psycopg2.Error as e
in example.
2023-07-27 10:09:03 +01:00
Daniele Varrazzo
9f020124f8
docs: don't show objects in side bar
...
Too wide, too ugly, useless to navigate.
Close #1587
2023-06-07 12:09:12 +02:00
Amirsoroush
3450d159b5
fix typo in Usage.html page in documentation
2023-04-23 22:47:26 +02:00
Daniele Varrazzo
638be85eb6
docs: drop use of print statement, use the print() function instead
...
Close #1556
2023-04-17 20:07:17 +02:00
Daniele Varrazzo
12700a5f02
Build packages for Python 3.11
2022-10-25 12:37:23 +02:00
Daniele Varrazzo
f401d0b738
docs: fix reST syntax and whitespace in executemany examples
2022-10-20 21:31:18 +02:00
Hannes
aabac5df31
Add executemany & execute_batch examples
2022-10-10 19:08:46 +02:00
Daniele Varrazzo
bd96594e2d
docs: add link to release notes page to find which Python version is supported
...
Close #1418 .
2022-10-06 03:27:40 +01:00
Daniele Varrazzo
29a65f756c
chore: upgrade error codes to PostgreSQL 15
2022-10-06 02:26:09 +01:00
Daniele Varrazzo
611c610041
docs: fixed quote_ident() example
...
Close #1481
2022-07-27 02:54:17 +02:00
Will Thompson
53bda13afa
Fix typo in large object usage documentation
2021-11-21 16:10:42 +01:00
Daniele Varrazzo
1454b14ae0
Fix Python 3.10 and PostgreSQL 14 compatibility notes
2021-11-05 18:37:58 +01:00
Daniel Saxton
3430dcdee6
Fix doc typo
2021-09-22 12:56:08 +01:00
Daniele Varrazzo
1b255b7dc3
Fix up-date-date typo
...
Close #1336
2021-08-07 20:53:54 +01:00
Daniele Varrazzo
8fe9861df5
Add docs anchor to reach the 'with' statement from psycopg3 docs
2021-07-14 02:32:22 +02:00
Daniele Varrazzo
47b93efcf8
Note in the docs that now the table and fields names are escaped.
2021-06-17 16:52:44 +01:00
Daniele Varrazzo
c5aa98d8bc
Add note about cursor.callproc() and PostgreSQL procedures
...
Close #1155
2021-06-16 16:51:13 +01:00
Daniele Varrazzo
1d3a89a0bb
Copyright year updated to 2021
...
ag -l Copyright | xargs sed -i \
"s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*Psycopg Team.*\)/\1-$(date +%Y)\3/I"
2021-06-15 00:37:22 +01:00
Daniele Varrazzo
1d3d5e905f
Deprecate the psycopg2.tz module
...
Don't use its objects anymore in the tests (except for the tests for the
objects themselves).
2021-06-15 00:22:54 +01:00
Daniele Varrazzo
f28502663f
Use datetime.timezone as default tzinfo_factory.
2021-06-15 00:17:14 +01:00
Daniele Varrazzo
2eac70786e
Drop support for mx.DateTime objects
...
They are Python 2 only.
2021-06-14 23:05:48 +01:00
Daniele Varrazzo
476a969bd8
Handle correctly timestamps with fractions of minute in the timezone offset
...
Close #1272 .
2021-06-14 22:25:02 +01:00
Daniele Varrazzo
e5ad0ab2d9
'with' starts a transaction even on autocommit connections
...
Close #941
2021-05-24 14:13:19 +02:00
Daniele Varrazzo
8f40c648af
Merge branch 'master' into rm-2.7
2021-05-20 16:36:55 +02:00
Chris Wilson
45599b2716
Add warning about send_feedback and cursor choice
2021-05-20 16:33:00 +02:00
Hans Ginzel
787a7b90ae
cursor.rst typo: was creates
...
name attribute: “cursor was creates” → “was created”
2021-05-20 16:26:08 +02:00
Tim Gates
0d7953a521
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:47 +02:00
Hugo van Kemenade
8d7f660309
Upgrade f-strings with flynt
2020-11-17 23:52:11 +02:00
Hugo van Kemenade
d956eaa3b1
Drop support for EOL Python 2.7
2020-11-17 22:53:44 +02:00
Hugo van Kemenade
7babeccbec
Upgrade Python syntax with pyupgrade --py36-plus
2020-11-17 22:22:11 +02:00
Sergey Golitsynskiy
b05a581931
Fix typo in sample code: psycopg >> psycopg2
2020-11-17 20:19:26 +00:00
Hugo van Kemenade
694a20fb95
Drop support for EOL Python 3.5 ( #1197 )
2020-11-17 20:17:12 +00:00
Hugo van Kemenade
60ed2770f3
Merge branch 'master' into rm-3.4
2020-11-17 18:01:04 +02:00
Daniele Varrazzo
8764a85320
Mention Python 3.9 supported
...
See #1183
2020-11-16 11:53:30 +00:00
Hugo van Kemenade
d8aa60221d
Merge branch 'master' into rm-3.4
2020-11-13 21:22:26 +02:00
martinfrancois
8c50af551d
update supported postgresql versions to include 13
2020-11-13 00:40:14 +01:00
Hugo
d04a420bce
Drop support for EOL Python 3.4
2020-11-10 08:44:42 +02:00
Jannis Vamvas
616dab7064
Remove semicolon from code example
2020-10-20 18:07:51 +02:00
Daniel Fortunov
171371da5a
Minor spelling and grammar corrections for 195b254
2020-09-06 17:23:37 +01:00
Daniele Varrazzo
dd1724c447
Errors mapping updated to PostgreSQL 13
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