Skip to content

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

chore: using 5439 as default port for redshift (#5584)

h3n4l49ae23435d3d
diff --git a/frontend/src/components/InstanceForm.vue b/frontend/src/components/InstanceForm.vue
index abb5cdfccf..e4553d0768 100644
--- a/frontend/src/components/InstanceForm.vue
+++ b/frontend/src/components/InstanceForm.vue
@@ -717,6 +717,8 @@ const getDefaultPort = (engine: EngineType) => {
return "1521";
} else if (engine === "MSSQL") {
return "1433";
+ } else if (engine === "REDSHIFT") {
+ return "5439";
}
return "3306";
};
diff --git a/frontend/src/utils/instance.ts b/frontend/src/utils/instance.ts
index a4d86697fd..cd7325219b 100644
--- a/frontend/src/utils/instance.ts
+++ b/frontend/src/utils/instance.ts
@@ -7,7 +7,7 @@ import {
languageOfEngine,
MaybeRef,
} from "../types";
-import { isDev, semverCompare } from "./util";
+import { semverCompare } from "./util";
export const supportedEngineList = () => {
const engines: EngineType[] = [
@@ -22,10 +22,8 @@ export const supportedEngineList = () => {
"ORACLE",
"MSSQL",
"MARIADB",
+ "REDSHIFT",
];
- if (isDev()) {
- engines.push("REDSHIFT");
- }
return engines;
};