Recognize serial2, serial4 and serial8 types when parsing SQL definitions in the ddl2cpp script.

This commit is contained in:
MeanSquaredError
2024-06-11 03:56:50 +03:00
committed by Roland Bock
parent b92a9a7656
commit 8797dfd79e

View File

@@ -92,6 +92,9 @@ ddlIntegerTypes = [
ddlSerialTypes = [
"bigserial", # PostgreSQL
"serial", # PostgreSQL
"serial2", # PostgreSQL
"serial4", # PostgreSQL
"serial8", # PostgreSQL
"smallserial", # PostgreSQL
]
@@ -233,6 +236,9 @@ def initDllParser():
"AUTOINCREMENT",
"SMALLSERIAL",
"SERIAL",
"SERIAL2",
"SERIAL4",
"SERIAL8",
"BIGSERIAL",
"GENERATED",
]