psycopg 3.2.2__tar.gz → 3.2.3__tar.gz
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.
- {psycopg-3.2.2 → psycopg-3.2.3}/PKG-INFO +3 -3
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_oids.py +1 -1
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/errors.py +4 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/postgres.py +1 -1
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/pq/_enums.py +4 -1
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/pq/misc.py +2 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg.egg-info/PKG-INFO +3 -3
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg.egg-info/requires.txt +2 -2
- {psycopg-3.2.2 → psycopg-3.2.3}/setup.cfg +3 -3
- {psycopg-3.2.2 → psycopg-3.2.3}/LICENSE.txt +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/README.rst +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/__init__.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_acompat.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_adapters_map.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_capabilities.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_cmodule.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_column.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_compat.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_connection_base.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_connection_info.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_conninfo_attempts.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_conninfo_attempts_async.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_conninfo_utils.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_copy.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_copy_async.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_copy_base.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_cursor_base.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_dns.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_encodings.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_enums.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_pipeline.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_preparing.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_py_transformer.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_queries.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_struct.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_tpc.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_transformer.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_typeinfo.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_typemod.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_tz.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/_wrappers.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/abc.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/adapt.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/client_cursor.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/connection.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/connection_async.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/conninfo.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/copy.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/crdb/__init__.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/crdb/_types.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/crdb/connection.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/cursor.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/cursor_async.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/dbapi20.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/generators.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/pq/__init__.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/pq/_debug.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/pq/_pq_ctypes.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/pq/_pq_ctypes.pyi +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/pq/abc.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/pq/pq_ctypes.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/py.typed +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/raw_cursor.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/rows.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/server_cursor.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/sql.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/transaction.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/__init__.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/array.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/bool.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/composite.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/datetime.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/enum.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/hstore.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/json.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/multirange.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/net.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/none.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/numeric.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/numpy.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/range.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/shapely.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/string.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/types/uuid.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/version.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg/waiting.py +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg.egg-info/SOURCES.txt +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg.egg-info/dependency_links.txt +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg.egg-info/not-zip-safe +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/psycopg.egg-info/top_level.txt +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/pyproject.toml +0 -0
- {psycopg-3.2.2 → psycopg-3.2.3}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: psycopg
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.3
|
|
4
4
|
Summary: PostgreSQL database adapter for Python
|
|
5
5
|
Home-page: https://psycopg.org/psycopg3/
|
|
6
6
|
Author: Daniele Varrazzo
|
|
@@ -38,9 +38,9 @@ Requires-Dist: backports.zoneinfo>=0.2.0; python_version < "3.9"
|
|
|
38
38
|
Requires-Dist: typing-extensions>=4.6; python_version < "3.13"
|
|
39
39
|
Requires-Dist: tzdata; sys_platform == "win32"
|
|
40
40
|
Provides-Extra: c
|
|
41
|
-
Requires-Dist: psycopg-c==3.2.
|
|
41
|
+
Requires-Dist: psycopg-c==3.2.3; implementation_name != "pypy" and extra == "c"
|
|
42
42
|
Provides-Extra: binary
|
|
43
|
-
Requires-Dist: psycopg-binary==3.2.
|
|
43
|
+
Requires-Dist: psycopg-binary==3.2.3; implementation_name != "pypy" and extra == "binary"
|
|
44
44
|
Provides-Extra: pool
|
|
45
45
|
Requires-Dist: psycopg-pool; extra == "pool"
|
|
46
46
|
Provides-Extra: test
|
|
@@ -1103,6 +1103,10 @@ class IdleInTransactionSessionTimeout(InternalError,
|
|
|
1103
1103
|
code='25P03', name='IDLE_IN_TRANSACTION_SESSION_TIMEOUT'):
|
|
1104
1104
|
pass
|
|
1105
1105
|
|
|
1106
|
+
class TransactionTimeout(InternalError,
|
|
1107
|
+
code='25P04', name='TRANSACTION_TIMEOUT'):
|
|
1108
|
+
pass
|
|
1109
|
+
|
|
1106
1110
|
|
|
1107
1111
|
# Class 26 - Invalid SQL Statement Name
|
|
1108
1112
|
|
|
@@ -25,7 +25,7 @@ def register_default_types(types: TypesRegistry) -> None:
|
|
|
25
25
|
for t in [
|
|
26
26
|
TypeInfo('"char"', 18, 1002, typemod=CharTypeModifier),
|
|
27
27
|
# autogenerated: start
|
|
28
|
-
# Generated from PostgreSQL
|
|
28
|
+
# Generated from PostgreSQL 17.0
|
|
29
29
|
TypeInfo("aclitem", 1033, 1034),
|
|
30
30
|
TypeInfo("bit", 1560, 1561, typemod=BitTypeModifier),
|
|
31
31
|
TypeInfo("bool", 16, 1000, regtype="boolean"),
|
|
@@ -6,6 +6,8 @@ libpq enum definitions for psycopg
|
|
|
6
6
|
|
|
7
7
|
from enum import IntEnum, IntFlag, auto
|
|
8
8
|
|
|
9
|
+
# Check in src/interfaces/libpq/libpq-fe.h for updates.
|
|
10
|
+
|
|
9
11
|
|
|
10
12
|
class ConnStatus(IntEnum):
|
|
11
13
|
"""
|
|
@@ -205,7 +207,8 @@ class DiagnosticField(IntEnum):
|
|
|
205
207
|
|
|
206
208
|
__module__ = "psycopg.pq"
|
|
207
209
|
|
|
208
|
-
# from postgres_ext.h
|
|
210
|
+
# from src/include/postgres_ext.h
|
|
211
|
+
|
|
209
212
|
SEVERITY = ord("S")
|
|
210
213
|
SEVERITY_NONLOCALIZED = ord("V")
|
|
211
214
|
SQLSTATE = ord("C")
|
|
@@ -12,6 +12,7 @@ import sys
|
|
|
12
12
|
import logging
|
|
13
13
|
import ctypes.util
|
|
14
14
|
from typing import NamedTuple
|
|
15
|
+
from pathlib import Path
|
|
15
16
|
|
|
16
17
|
from . import abc
|
|
17
18
|
from ._enums import ConnStatus, TransactionStatus, PipelineStatus
|
|
@@ -52,6 +53,7 @@ class PGresAttDesc(NamedTuple):
|
|
|
52
53
|
def find_libpq_full_path() -> str | None:
|
|
53
54
|
if sys.platform == "win32":
|
|
54
55
|
libname = ctypes.util.find_library("libpq.dll")
|
|
56
|
+
libname = str(Path(libname).resolve())
|
|
55
57
|
|
|
56
58
|
elif sys.platform == "darwin":
|
|
57
59
|
libname = ctypes.util.find_library("libpq.dylib")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: psycopg
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.3
|
|
4
4
|
Summary: PostgreSQL database adapter for Python
|
|
5
5
|
Home-page: https://psycopg.org/psycopg3/
|
|
6
6
|
Author: Daniele Varrazzo
|
|
@@ -38,9 +38,9 @@ Requires-Dist: backports.zoneinfo>=0.2.0; python_version < "3.9"
|
|
|
38
38
|
Requires-Dist: typing-extensions>=4.6; python_version < "3.13"
|
|
39
39
|
Requires-Dist: tzdata; sys_platform == "win32"
|
|
40
40
|
Provides-Extra: c
|
|
41
|
-
Requires-Dist: psycopg-c==3.2.
|
|
41
|
+
Requires-Dist: psycopg-c==3.2.3; implementation_name != "pypy" and extra == "c"
|
|
42
42
|
Provides-Extra: binary
|
|
43
|
-
Requires-Dist: psycopg-binary==3.2.
|
|
43
|
+
Requires-Dist: psycopg-binary==3.2.3; implementation_name != "pypy" and extra == "binary"
|
|
44
44
|
Provides-Extra: pool
|
|
45
45
|
Requires-Dist: psycopg-pool; extra == "pool"
|
|
46
46
|
Provides-Extra: test
|
|
@@ -5,7 +5,7 @@ url = https://psycopg.org/psycopg3/
|
|
|
5
5
|
author = Daniele Varrazzo
|
|
6
6
|
author_email = daniele.varrazzo@gmail.com
|
|
7
7
|
license = GNU Lesser General Public License v3 (LGPLv3)
|
|
8
|
-
version = 3.2.
|
|
8
|
+
version = 3.2.3
|
|
9
9
|
project_urls =
|
|
10
10
|
Homepage = https://psycopg.org/
|
|
11
11
|
Documentation = https://psycopg.org/psycopg3/docs/
|
|
@@ -48,9 +48,9 @@ install_requires =
|
|
|
48
48
|
|
|
49
49
|
[options.extras_require]
|
|
50
50
|
c =
|
|
51
|
-
psycopg-c == 3.2.
|
|
51
|
+
psycopg-c == 3.2.3; implementation_name != "pypy"
|
|
52
52
|
binary =
|
|
53
|
-
psycopg-binary == 3.2.
|
|
53
|
+
psycopg-binary == 3.2.3; implementation_name != "pypy"
|
|
54
54
|
pool =
|
|
55
55
|
psycopg-pool
|
|
56
56
|
test =
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|