diff --git a/bench/postgres/index.mjs b/bench/postgres/index.mjs index 09168cd829..9b5fc05896 100644 --- a/bench/postgres/index.mjs +++ b/bench/postgres/index.mjs @@ -1,6 +1,6 @@ const isBun = typeof globalThis?.Bun?.sql !== "undefined"; import postgres from "postgres"; -const sql = isBun ? Bun.sql : postgres; +const sql = isBun ? Bun.sql : postgres(); // Create the table if it doesn't exist await sql`