PyGreSQL 6.2.0__cp313-cp313-win_amd64.whl → 6.2.2__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pg/__init__.py +1 -1
- pg/_pg.cp313-win_amd64.pyd +0 -0
- pg/_pg.pyi +2 -1
- pg/db.py +5 -3
- pgdb/__init__.py +1 -1
- {pygresql-6.2.0.dist-info → pygresql-6.2.2.dist-info}/METADATA +1 -1
- {pygresql-6.2.0.dist-info → pygresql-6.2.2.dist-info}/RECORD +10 -10
- {pygresql-6.2.0.dist-info → pygresql-6.2.2.dist-info}/licenses/LICENSE.txt +1 -1
- {pygresql-6.2.0.dist-info → pygresql-6.2.2.dist-info}/WHEEL +0 -0
- {pygresql-6.2.0.dist-info → pygresql-6.2.2.dist-info}/top_level.txt +0 -0
pg/__init__.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
#
|
|
5
5
|
# This file contains the classic pg module.
|
|
6
6
|
#
|
|
7
|
-
# Copyright (c)
|
|
7
|
+
# Copyright (c) 2026 by the PyGreSQL Development Team
|
|
8
8
|
#
|
|
9
9
|
# The notification handler is based on pgnotify which is
|
|
10
10
|
# Copyright (c) 2001 Ng Pheng Siong. All rights reserved.
|
pg/_pg.cp313-win_amd64.pyd
CHANGED
|
Binary file
|
pg/_pg.pyi
CHANGED
|
@@ -268,7 +268,8 @@ class Connection:
|
|
|
268
268
|
...
|
|
269
269
|
|
|
270
270
|
def inserttable(self, table: str, values: Sequence[list|tuple],
|
|
271
|
-
columns: list[str] | tuple[str, ...] | None = None
|
|
271
|
+
columns: list[str] | tuple[str, ...] | None = None,
|
|
272
|
+
freeze: bool=False) -> int:
|
|
272
273
|
"""Insert a Python iterable into a database table."""
|
|
273
274
|
...
|
|
274
275
|
|
pg/db.py
CHANGED
|
@@ -1403,11 +1403,13 @@ class DB:
|
|
|
1403
1403
|
return self._valid_db.getnotify()
|
|
1404
1404
|
|
|
1405
1405
|
def inserttable(self, table: str, values: Sequence[list|tuple],
|
|
1406
|
-
columns: list[str] | tuple[str, ...] | None = None
|
|
1406
|
+
columns: list[str] | tuple[str, ...] | None = None,
|
|
1407
|
+
freeze: bool=False) -> int:
|
|
1407
1408
|
"""Insert a Python iterable into a database table."""
|
|
1408
1409
|
if columns is None:
|
|
1409
|
-
return self._valid_db.inserttable(table, values)
|
|
1410
|
-
return self._valid_db.inserttable(
|
|
1410
|
+
return self._valid_db.inserttable(table, values, freeze=freeze)
|
|
1411
|
+
return self._valid_db.inserttable(
|
|
1412
|
+
table, values, columns, freeze=freeze)
|
|
1411
1413
|
|
|
1412
1414
|
def transaction(self) -> int:
|
|
1413
1415
|
"""Get the current in-transaction status of the server.
|
pgdb/__init__.py
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
pg/__init__.py,sha256=
|
|
2
|
-
pg/_pg.cp313-win_amd64.pyd,sha256=
|
|
3
|
-
pg/_pg.pyi,sha256=
|
|
1
|
+
pg/__init__.py,sha256=bM7MpZ-Ib_yJPt1E6_NxulSNO9PnD6BhuZX0t1CgIwU,3802
|
|
2
|
+
pg/_pg.cp313-win_amd64.pyd,sha256=gkvha1uIOhtyDtbjpn-NVFja9zAxoIFWuyrRpX7SWo4,101888
|
|
3
|
+
pg/_pg.pyi,sha256=X91CnRWbFd9GC_LT0NetkDnHgeXasVMK4Fe1ZucbZeY,16718
|
|
4
4
|
pg/adapt.py,sha256=pH_p54_BWfljOAiwrNk6soEKmGdtl5viObpOR0PzWfY,23761
|
|
5
5
|
pg/attrs.py,sha256=Vctl2DLbvjqoow3UW69LNM7NOL8_Ki1UzfH1u1aS2VI,1094
|
|
6
6
|
pg/cast.py,sha256=Sf5-VREbydAXFtyKFYtqE-s3mVioW6MxyifjGGwDjds,15174
|
|
7
7
|
pg/core.py,sha256=KhXecrakcEkVLEJRkeLKcoxmQQflSF6eLO-1di4ym0M,3750
|
|
8
|
-
pg/db.py,sha256=
|
|
8
|
+
pg/db.py,sha256=BRsunP-6WC8SmG4lXzSCw9owaVPd-bAE2neP6p5cHVM,63068
|
|
9
9
|
pg/error.py,sha256=viyVbnfpkj4NEyX5rO4sa7khq1AhxyFjdOCeVFEf-bc,1183
|
|
10
10
|
pg/helpers.py,sha256=EZQyVVkSWYlaKl110YkDhzE0ai5wrafkVkJ5mjTnkk0,3752
|
|
11
11
|
pg/notify.py,sha256=7p8GKAH1_XhbSFsO2d6Tq87TMs-4I8QnW6H7DNJiX3k,5717
|
|
12
12
|
pg/py.typed,sha256=ZER5Nnvi4HkHk1b83RamqWtrEUSNwFlDMKG1Q1cwSgw,125
|
|
13
13
|
pg/tz.py,sha256=6KtNefjNSdrwvyOJB9UnfTfGZKSov-TinFyMI3VPv9w,615
|
|
14
|
-
pgdb/__init__.py,sha256=
|
|
14
|
+
pgdb/__init__.py,sha256=ZOVpSHneSpVPe4CLHTow8DoXJ3KQmGx0JVvXwfY1LxM,3983
|
|
15
15
|
pgdb/adapt.py,sha256=tErNxEMTVUJ45Sb1pgeOtw5prh4V3mz2-i3ss19WbcU,7449
|
|
16
16
|
pgdb/cast.py,sha256=IkGnDdGTwYt_p35vObyaayAIs3RpTl5erZJlq_g91cI,20669
|
|
17
17
|
pgdb/connect.py,sha256=pA5Yk4eLassyQdyAspADxIt1nYmBKD2_tn42wTZHXnc,2140
|
|
@@ -20,8 +20,8 @@ pgdb/constants.py,sha256=OMAsDQScUwLXAd-XIiPwrzi5dmDSCpQ5USo4YYrz0Bw,353
|
|
|
20
20
|
pgdb/cursor.py,sha256=D9wL8xf2NJFcRoXFZoe6PqrRwKmMGTqQoO-hF_ANxtc,25696
|
|
21
21
|
pgdb/py.typed,sha256=2VeIS_W_dgx4dmHL3LVNCsDV0KvLdl_bgGMQ5nODNJc,63
|
|
22
22
|
pgdb/typecode.py,sha256=iM0JQ4iEJR5B5vIC80ngFTPDVJmfYu1C_aXl65Ec6hA,844
|
|
23
|
-
pygresql-6.2.
|
|
24
|
-
pygresql-6.2.
|
|
25
|
-
pygresql-6.2.
|
|
26
|
-
pygresql-6.2.
|
|
27
|
-
pygresql-6.2.
|
|
23
|
+
pygresql-6.2.2.dist-info/licenses/LICENSE.txt,sha256=SGDzFoe7GbZrcIeufuyQlQWhJMKZ_bvSNhaalRoiz-A,1402
|
|
24
|
+
pygresql-6.2.2.dist-info/METADATA,sha256=jHYVuMC6gRPhR4XVo565IS0rEFkbn0dK6HhIqZ_7_Nw,3361
|
|
25
|
+
pygresql-6.2.2.dist-info/WHEEL,sha256=qV0EIPljj1XC_vuSatRWjn02nZIz3N1t8jsZz7HBr2U,101
|
|
26
|
+
pygresql-6.2.2.dist-info/top_level.txt,sha256=TUG46FTS3XpKk5tKxB7G77EiAfbZp1Pn_ecovpRSEDA,8
|
|
27
|
+
pygresql-6.2.2.dist-info/RECORD,,
|
|
@@ -6,7 +6,7 @@ Copyright (c) 1995, Pascal Andre
|
|
|
6
6
|
|
|
7
7
|
Further modifications copyright (c) 1997-2008 by D'Arcy J.M. Cain
|
|
8
8
|
|
|
9
|
-
Further modifications copyright (c) 2009-
|
|
9
|
+
Further modifications copyright (c) 2009-2026 by the PyGreSQL Development Team
|
|
10
10
|
|
|
11
11
|
PyGreSQL is released under the PostgreSQL License, a liberal Open Source
|
|
12
12
|
license, similar to the BSD or MIT licenses:
|
|
File without changes
|
|
File without changes
|