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
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
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
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
Alexey Bashtanov
96f0f63de2
dictcursor-docs-improvement
2020-06-18 15:40:45 +01:00
Christophe Jolif
1afbaf495e
use new URL for psycogreen
2020-05-28 14:11:34 +02:00
Dio Gado
ac488acee3
Fix ctypes example AttributeError
2020-05-27 05:39:53 -04:00
Francisco Couzo
7fdf77065d
Fix typo
2020-05-07 04:11:50 -03:00