From 8f93c2e2da7c22f84bb6f0d3511cef535ea06be6 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Thu, 12 Dec 2024 21:48:31 +0100 Subject: [PATCH] Add type bytea --- src/procrusql/parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/procrusql/parser.py b/src/procrusql/parser.py index e80b9f8..e5e1265 100755 --- a/src/procrusql/parser.py +++ b/src/procrusql/parser.py @@ -340,6 +340,7 @@ def parse_column_definition(ps): "json", "jsonb", "uuid", r"integer\[\]", r"int\[\]", r"bigint\[\]", + "bytea", ), key=lambda x: -len(x) # longest match first )