From 23a5b59eaeea04db97f50c2cdc478f7fd7306406 Mon Sep 17 00:00:00 2001 From: Tyler Date: Sat, 13 Jan 2024 08:15:26 +0900 Subject: [PATCH] fix: Update pgbouncer mentions to supavisor and add warning to pgbouncer article (#20387) * Update pgbouncer mentions to supavisor and add warning to pgbouncer article * run prettier * minor text update --- .../pages/guides/getting-started/quickstarts/redwoodjs.mdx | 2 -- apps/www/_alternatives/supabase-vs-heroku-postgres.mdx | 2 +- apps/www/_blog/2021-04-02-supabase-pgbouncer.mdx | 5 +++++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/docs/pages/guides/getting-started/quickstarts/redwoodjs.mdx b/apps/docs/pages/guides/getting-started/quickstarts/redwoodjs.mdx index b4362694de3..5cb6e2d19bd 100644 --- a/apps/docs/pages/guides/getting-started/quickstarts/redwoodjs.mdx +++ b/apps/docs/pages/guides/getting-started/quickstarts/redwoodjs.mdx @@ -94,8 +94,6 @@ export const meta = { - Be sure to append `?pgbouncer=true` to the end of the `DATABASE_URL` connection string. - Also, replace `[YOUR-PASSWORD]` and `[YOUR-PROJECT-REF]` with the password you used when creating your Supabase project and the project reference from the URL in your browser. diff --git a/apps/www/_alternatives/supabase-vs-heroku-postgres.mdx b/apps/www/_alternatives/supabase-vs-heroku-postgres.mdx index ac4707720b9..f268ec192b7 100644 --- a/apps/www/_alternatives/supabase-vs-heroku-postgres.mdx +++ b/apps/www/_alternatives/supabase-vs-heroku-postgres.mdx @@ -21,7 +21,7 @@ Supabase also offers managed Postgres, the main difference is that with each dep - Auth - [users can log in and out of your application](https://supabase.com/auth) - Functions - [deploy custom logic to the edge](https://supabase.com/edge-functions) - Storage - [serve large files and folders](https://supabase.com/storage) -- PgBouncer - [connection pooling useful for serverless computing](https://supabase.com/docs/guides/database/connecting-to-postgres#connection-pool) +- Supavisor - [connection pooling useful for serverless computing](https://supabase.com/docs/guides/database/connecting-to-postgres#connection-pooler) ## How are they similar? diff --git a/apps/www/_blog/2021-04-02-supabase-pgbouncer.mdx b/apps/www/_blog/2021-04-02-supabase-pgbouncer.mdx index 29fced7d6ea..8ac9fb8a5ae 100644 --- a/apps/www/_blog/2021-04-02-supabase-pgbouncer.mdx +++ b/apps/www/_blog/2021-04-02-supabase-pgbouncer.mdx @@ -16,6 +16,11 @@ tags: date: '2021-04-02' --- + + PgBouncer is now deprecated. Use + [Supavisor](https://supabase.com/blog/supavisor-postgres-connection-pooler) instead. + + Javascript Frameworks like [Next.js,](https://nextjs.org/) [Redwood](https://redwoodjs.com/), [Blitz](https://blitzjs.com/), and tools like [Prisma](https://www.prisma.io/docs/guides/deployment/deployment#pgbouncer) are all moving in one direction. Serverless.