diff --git a/src/server/connections/node/connection_factory.ts b/src/server/connections/node/connection_factory.ts index f1ef68c6..f6649e9a 100644 --- a/src/server/connections/node/connection_factory.ts +++ b/src/server/connections/node/connection_factory.ts @@ -68,16 +68,16 @@ export class NodeConnectionFactory implements ConnectionFactory { configOptions ); break; - case ConnectionBackend.Postgres: { - connection = await createPostgresConnection( + case ConnectionBackend.DuckDB: { + connection = await createDuckDbConnection( this.client, connectionConfig, configOptions ); break; } - case ConnectionBackend.DuckDB: { - connection = await createDuckDbConnection( + case ConnectionBackend.Postgres: { + connection = await createPostgresConnection( this.client, connectionConfig, configOptions