diff --git a/src/drivers/PostgresDriver.ts b/src/drivers/PostgresDriver.ts index c84beaf..a06ebdd 100644 --- a/src/drivers/PostgresDriver.ts +++ b/src/drivers/PostgresDriver.ts @@ -246,14 +246,12 @@ export class PostgresDriver extends AbstractDriver { colInfo.ts_type = "string"; break; case "USER-DEFINED": + colInfo.sql_type = resp.udt_name; + colInfo.ts_type = "string"; switch (resp.udt_name) { case "citext": - colInfo.sql_type = resp.udt_name; - colInfo.ts_type = "string"; - break; case "hstore": - colInfo.sql_type = resp.udt_name; - colInfo.ts_type = "string"; + case "geometry": break; default: TomgUtils.LogError(