© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
1 reply
not_here_anymore2024

Upgrade Pool Connection

so if i have
import pkg from 'pg';
const { Pool } = pkg;
import { Kysely, PostgresDialect } from "kysely";
import { POSTGRES_URL } from '$env/static/private';
export const pool = new Pool({
  connectionString: POSTGRES_URL
})

const dialect = new PostgresDialect({
  pool
});

export const db = new Kysely<Database>({
  dialect
});
import pkg from 'pg';
const { Pool } = pkg;
import { Kysely, PostgresDialect } from "kysely";
import { POSTGRES_URL } from '$env/static/private';
export const pool = new Pool({
  connectionString: POSTGRES_URL
})

const dialect = new PostgresDialect({
  pool
});

export const db = new Kysely<Database>({
  dialect
});

does this mean I have to upgrade? I tried to put in new POSTGRES_URL variable but its not working
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Read replica connection pool
SupabaseSSupabase / help-and-questions
5mo ago
PostgreSQL pool connection from express
SupabaseSSupabase / help-and-questions
4y ago
which connection pool you recommend me?
SupabaseSSupabase / help-and-questions
3y ago
Connection Pool authentication fails from edge function
SupabaseSSupabase / help-and-questions
4y ago