Daniele Varrazzo
f401d0b738
docs: fix reST syntax and whitespace in executemany examples
2022-10-20 21:31:18 +02:00
Ion Alberdi
4912be0e7f
[test_basic_types] Add test for array[%s] on NULL arrays
...
Add test to verifity the fix for #1507 .
2022-10-11 13:02:22 +01:00
Hannes
aabac5df31
Add executemany & execute_batch examples
2022-10-10 19:08:46 +02:00
Daniele Varrazzo
a12dbc4357
docs: fix typos in release notes
2022-10-06 03:58:50 +01:00
Daniele Varrazzo
bc82c8f9cc
fix: set default SYSCONFDIR to the quasi-standard /etc/postgresql-common
...
Fix #1365 .
2022-10-06 03:49:25 +01:00
Daniele Varrazzo
c38aa27d7d
chore: bump version number to release 2.9.4
2022-10-06 03:32:17 +01: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
182a51a33f
chore: upgrade packaged libpq version and dependencies
...
appveyor.cache_rebuild reformatted for greppability.
2022-10-06 03:27:40 +01:00
Daniele Varrazzo
76b703e910
Merge branch 'pg15'
2022-10-06 02:59:28 +01:00
Daniele Varrazzo
29a65f756c
chore: upgrade error codes to PostgreSQL 15
2022-10-06 02:26:09 +01:00
Daniele Varrazzo
6d815f5df9
test: adapt ssl test to libpq 15
...
See #1506 , PostgreSQL bug 17625
(https://www.postgresql.org/message-id/17625-fc47c78b7d71b534%40postgresql.org )
2022-10-06 02:09:19 +01:00
Daniele Varrazzo
c7326f8da7
test: add PostgreSQL 15 to the test grid
2022-10-06 02:09:19 +01:00
Daniele Varrazzo
68d786b610
Merge branch 'fix-1487'
2022-10-06 02:09:06 +01:00
Daniele Varrazzo
7054e1aadf
test: add test to verify register_range() with names requiring escape
...
Unlike for register_composite(), this works already.
2022-10-06 02:05:49 +01:00
Daniele Varrazzo
ac25d3bdc0
fix: look up for range types defined in schemas in the search path
2022-10-06 02:05:39 +01:00
Daniele Varrazzo
9535462ce9
fix: correctly handle composites with names or schema requiring escape
2022-10-06 01:56:28 +01:00
Daniele Varrazzo
d88e4c2a3c
fix: handle types in the search path in register_composite()
...
Fix #1487 .
2022-10-06 01:10:07 +01:00
Daniele Varrazzo
31a80410db
chore: bump to next dev release
2022-10-06 00:21:27 +01:00
Daniele Varrazzo
d6c81b4ff0
docs: mention MacOS ARM wheel support
2022-10-05 19:48:04 +01:00
Magnus Watn
c6f30880a2
Remove Apple M1 bullet point from issue template
...
https://github.com/psycopg/psycopg2/issues/1286 is now closed.
2022-10-03 10:09:46 +01:00
Daniele Varrazzo
e3664380c4
build: fix starting Postgres in macOS build script
...
The brew command fails with:
Could not enable service: 125: Domain does not support specified action
Error: Failure while executing; `/bin/launchctl enable gui/501/homebrew.mxcl.postgresql@14` exited with 125.
2022-09-25 02:49:16 +01:00
Daniele Varrazzo
fdf957dcbd
build: use "latest" version of github builders
2022-09-25 02:46:21 +01:00
Nikita Sobolev
3e7bb8d1aa
Remove __nonzero__
method
2022-07-30 14:03:10 +02:00
Tim Tisdall
07c83ef8bb
Link to the right PR for adding alpine wheels
2022-07-28 14:39:33 +02:00
Daniele Varrazzo
f07b3ad0a6
Merge branch 'build-macos-arm64'
2022-07-28 13:30:32 +02:00
Daniele Varrazzo
611c610041
docs: fixed quote_ident() example
...
Close #1481
2022-07-27 02:54:17 +02:00
Daniele Varrazzo
25c40f8ac3
build: add scripts to build macOS arm64 packages
2022-07-17 00:20:08 +01:00
Daniele Varrazzo
ba92a22bc9
test: drop test table if exist
...
It might be a residue of a psycopg 3 test run in the same db.
2022-07-16 23:58:43 +01:00
Rafi Shamim
3c58e96e10
Unskip tests that work on CockroachDB v22.1
...
CockroachDB supports named cursors in v22.1, so more tests pass.
2022-03-28 20:26:23 +02:00
Daniele Varrazzo
626078388a
Use pip-tools to create the requirement file to build the docs
...
Docs building just broke. The requirement file had some version upper
boundary that caused problems between Sphinx and jinja2.
2022-03-26 02:45:40 +01:00
Daniele Varrazzo
c34bf2f2f9
Bump to release 2.9.3
2021-12-29 13:48:23 +01:00
Daniele Varrazzo
94ba06748f
Merge branch 'musllinux'
2021-12-29 13:36:25 +01:00
Peter Lithammer
c5528da2dc
Mention Alpine/musl wheels in news file
2021-12-10 17:21:34 +01:00
Peter Lithammer
2dc137975a
Build musllinux
wheels
2021-12-10 17:21:34 +01:00
Daniele Varrazzo
bc79abace1
Bump to next dev release
2021-12-10 14:28:04 +01:00
Daniele Varrazzo
846ae52ab2
Create parent directories too in artifacts download
2021-12-10 14:26:06 +01:00
Daniele Varrazzo
217f4120ca
Strip debug symbols from binary packages
...
The _psycopg.so library goes down from 1.6mb to 300k in Linux packages.
2021-12-10 14:26:06 +01:00
John Vandenberg
4d4d2bc444
Include sys/time.h for gettimeofday
...
Fixes https://github.com/psycopg/psycopg2/issues/1397
2021-12-03 11:29:39 +01:00
John Vandenberg
4b637ec34a
PyPy does not have PyDateTime_TimeZone_UTC
...
Fixes https://github.com/psycopg/psycopg2/issues/1398
2021-12-03 11:29:21 +01:00
Will Thompson
53bda13afa
Fix typo in large object usage documentation
2021-11-21 16:10:42 +01:00
Daniele Varrazzo
8ef195f2ff
Bump version number to release 2.9.2
2021-11-11 21:16:12 +01:00
Daniele Varrazzo
1b013b529b
Merge branch 'py311'
2021-11-11 21:14:28 +01:00
Daniele Varrazzo
0a4a469669
Mention Python 3.11 preliminary support in the newsfile.
2021-11-11 21:13:38 +01:00
Cyril Jouve
5fb1305a14
support for python 3.11
2021-11-11 21:13:38 +01:00
Daniele Varrazzo
898cbff5a6
Build binary packages against PosgtgreSQL 14.1 lipq
...
Close #1388 .
2021-11-11 21:11:59 +01:00
Daniele Varrazzo
7dd193a7f7
errorcodes map and errors classes updated to PostgreSQL 14.
2021-11-11 20:08:39 +01:00
Daniele Varrazzo
1a0c02a6f4
Raise an error for dates > 10K instead of returning Y9999
...
Close #1307 .
2021-11-11 20:01:14 +01:00
Daniele Varrazzo
1454b14ae0
Fix Python 3.10 and PostgreSQL 14 compatibility notes
2021-11-05 18:37:58 +01:00
Daniele Varrazzo
8e186dd7e9
Merge branch 'py310'
2021-11-03 14:18:09 +01:00
Daniele Varrazzo
7236a1f851
Fix f-string in Appveyor package download script
2021-11-03 14:16:38 +01:00