From d2c9947d9603add9e913c9f7ac35933f00a79464 Mon Sep 17 00:00:00 2001 From: Nick Wilkinson Date: Thu, 5 Dec 2024 10:56:27 +0200 Subject: [PATCH] only split at first = --- lib/sqlalchemy/dialects/postgresql/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3