From 1879f1acff0d56906db01d4ad893ac7420adc3eb Mon Sep 17 00:00:00 2001 From: donbarbos Date: Thu, 10 Sep 2026 08:51:50 +0400 Subject: [PATCH] [psycopg2] Update to 2.9.13 Diff: https://github.com/psycopg/psycopg2/compare/2.9.12...2.9.13 Closes: #16372 But, i'm not sure about parent classes --- stubs/psycopg2/METADATA.toml | 2 +- stubs/psycopg2/psycopg2/errors.pyi | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stubs/psycopg2/METADATA.toml b/stubs/psycopg2/METADATA.toml index 9c65ea123bb3..a7f508256cc8 100644 --- a/stubs/psycopg2/METADATA.toml +++ b/stubs/psycopg2/METADATA.toml @@ -1,3 +1,3 @@ -version = "2.9.12" +version = "2.9.13" upstream-repository = "https://github.com/psycopg/psycopg2" partial-stub = false diff --git a/stubs/psycopg2/psycopg2/errors.pyi b/stubs/psycopg2/psycopg2/errors.pyi index 4c48e32c568e..fed1290832de 100644 --- a/stubs/psycopg2/psycopg2/errors.pyi +++ b/stubs/psycopg2/psycopg2/errors.pyi @@ -25,6 +25,7 @@ class NoData(DatabaseError): ... class SnapshotTooOld(DatabaseError): ... class SqlStatementNotYetComplete(DatabaseError): ... class StackedDiagnosticsAccessedWithoutActiveHandler(DatabaseError): ... +class InvalidArgumentForXquery(DatabaseError): ... class TriggeredActionException(DatabaseError): ... class ActiveSqlTransaction(InternalError): ... class AdminShutdown(OperationalError): ... @@ -65,6 +66,7 @@ class DuplicateColumn(ProgrammingError): ... class DuplicateCursor(ProgrammingError): ... class DuplicateDatabase(ProgrammingError): ... class DuplicateFile(OperationalError): ... +class FileNameTooLong(OperationalError): ... class DuplicateFunction(ProgrammingError): ... class DuplicateJsonObjectKeyValue(DataError): ... class DuplicateObject(ProgrammingError): ...