From: Nick Wilkinson Date: Thu, 5 Dec 2024 08:56:27 +0000 (+0200) Subject: only split at first = X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d2c9947d9603add9e913c9f7ac35933f00a79464;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git only split at first = --- diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 2a335c3d28..5fa217cc09 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -4603,7 +4603,7 @@ class PGDialect(default.DefaultDialect): dialect_options = {} if row["reloptions"]: dialect_options["postgresql_with"] = dict( - [option.split("=") for option in row["reloptions"]] + [option.split("=", 1) for option in row["reloptions"]] ) # it *might* be nice to include that this is 'btree' in the # reflection info. But we don't want an Index object