Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: add more pg types (#9780)

Danny Xu0365feb7a2f5
diff --git a/frontend/src/utils/schemaEditor/index.ts b/frontend/src/utils/schemaEditor/index.ts
index 14447d0632..75659450e8 100644
--- a/frontend/src/utils/schemaEditor/index.ts
+++ b/frontend/src/utils/schemaEditor/index.ts
@@ -62,9 +62,11 @@ export const getDataTypeSuggestionList = (engine: Engine = Engine.MYSQL) => {
];
} else if (engine === Engine.POSTGRES) {
return [
+ "bigint",
"bigserial",
"bit",
"bool",
+ "boolean",
"box",
"bytea",
"char",
@@ -73,12 +75,14 @@ export const getDataTypeSuggestionList = (engine: Engine = Engine.MYSQL) => {
"circle",
"date",
"decimal",
+ "double precision",
"float4",
"float8",
"inet",
"int2",
"int4",
"int8",
+ "integer",
"interval",
"json",
"jsonb",
@@ -90,10 +94,12 @@ export const getDataTypeSuggestionList = (engine: Engine = Engine.MYSQL) => {
"path",
"point",
"polygon",
+ "real",
"serial",
"serial2",
"serial4",
"serial8",
+ "smallint",
"smallserial",
"text",
"time",
@@ -102,7 +108,7 @@ export const getDataTypeSuggestionList = (engine: Engine = Engine.MYSQL) => {
"timetz",
"tsquery",
"tsvector",
- "txid_snaps",
+ "txid_snapshot",
"uuid",
"varbit",
"varchar",