summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/pg8000.py
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2023-05-09 17:55:16 +0000
committerGerrit Code Review <gerrit@bbpush.zzzcomputing.com>2023-05-09 17:55:16 +0000
commitcef8adac8ae48c5c6c36138ed0b59067c1ef78ed (patch)
tree4ec5b5dc56e8bd700baf2d4e5d7b49d2c806802b /lib/sqlalchemy/dialects/postgresql/pg8000.py
parent4e3806861b19a00203f95b6ecbe411a4e252d152 (diff)
parentff821e57c960f095ab2988a0f892b3127374f498 (diff)
downloadsqlalchemy-cef8adac8ae48c5c6c36138ed0b59067c1ef78ed.tar.gz
Merge "Ensure float are not implemented as numeric" into main
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/pg8000.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/pg8000.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/pg8000.py b/lib/sqlalchemy/dialects/postgresql/pg8000.py
index 3f01b00e8..a32d375c7 100644
--- a/lib/sqlalchemy/dialects/postgresql/pg8000.py
+++ b/lib/sqlalchemy/dialects/postgresql/pg8000.py
@@ -148,7 +148,7 @@ class _PGNumeric(sqltypes.Numeric):
)
-class _PGFloat(_PGNumeric):
+class _PGFloat(_PGNumeric, sqltypes.Float):
__visit_name__ = "float"
render_bind_cast = True