Neon

N

Neon

The official Neon Database Discord

Join

🙏|feedback

❓|questions-and-answers

🐘|postgres

typical-coral
typical-coral2/24/2025

Connection reset by peer when connecting from Northern Europe

Specifically one of the software we run, Ory Keto, gets this error multiple times per day, which makes a few support tickets each day. Our project is setup to always be on at .25 CUs and runs in Azure Germany West Central (Frankfurt). It has almost no traffic, but the symptoms is as if it's not always on and has connection issues whenever the first connection in a while happens. It looks like we get scaled to 0, perhaps it's the connection pooler? This does not happen at all with a locally setup PG17 instance. The error we get is specifically:...
No description
modern-teal
modern-teal2/24/2025

Using drizzle to make project-per-tenant?

B2B SaaS: How can I automate onboarding for new organizations using drizzle in a shared application, one db-per-tenant? For example creating organization at sign-up, and getting a database right away?...
exotic-emerald
exotic-emerald2/23/2025

vercel

could anyone give me a tip as to why I can connect to my neon database via localhost but it's giving a 500 error when trying to connect through my vercel deployment?
unwilling-turquoise
unwilling-turquoise2/21/2025

Multi Tenant b2b saas

Pros and Con's of one project with many branches (one branch per tenant) VS multiple projects (each tenant gets their own project with one db branch)...
modern-teal
modern-teal2/20/2025

Multi-tenant DB design advice needed

I'm in the planning phase of a B2B SaaS platform (taking inspiration from Linear/Fibery/some generic admin dashboard) and need some advice on the database architecture for multi-tenancy using Neon Postgres. Current planned tech stack (Any feedback is greatly appreciated): * React * Next.js ...
genetic-orange
genetic-orange2/20/2025

How to turn off Preview branching on Vercel/Neon?

Does not seem to be in either Vercel or Neon console. It's a cool feature but looks like on the free tier, we're only allowed to have 10 branches so hence it doesn't really make sense.
typical-coral
typical-coral2/18/2025

Cannot connect to source database

I've created a postgreSQL db, which server is running on my machine, and i want to migrate it to Neon, with the schema and all data in it. But, the Migration Assistant doesn't seem to accept the two formats of connection strings i've inserted until now, those being: "postgres://user:password@host:port/db" and...
deep-jade
deep-jade2/18/2025

Storage limit reached, but db is half of max storage

So i have reached max storage on the free plan with my db only being 259.48MB, i have also set backup storage to be 0. So i dont understand why i'm having this problem
optimistic-gold
optimistic-gold2/18/2025

Uncaught Exception: Error: Connection terminated unexpectedly

I have a Next.js app deployed on Vercel, using @neondatabase/serverless as a PostgreSQL client and @prisma/adapter-neon to integrate with Prisma. Occasionally, I get a Connection terminated unexpectedly error, which causes an unhandled exception and crashes the Node.js process with exit code 129 (SIGHUP). Here’s my setup: ```import { Pool, neonConfig } from "@neondatabase/serverless"; import { PrismaNeon } from "@prisma/adapter-neon"; import { PrismaClient } from "@prisma/client";...
magic-amber
magic-amber2/17/2025

How do I turn on protocol-level prepared statements in Diesel?

Diesel statement caching on Neon postgres is returning an error only. When I look at the Neon docs, it says I need to configure the connection to use named prepared statements. I don't see that as an option in Diesel R2D2. Has anyone figured this out?
wise-white
wise-white2/17/2025

Prisma Schema with Neon Project Per User

Hi all, I am currently investigating a project per user set up for my multi-tenant application which uses Neon, Prisma ORM and Next.js hosted in Vercel. I have played around with the Neon API and was able to create a new project and run migrations on that project as soon as a new user logs in to the application. ...
typical-coral
typical-coral2/16/2025

Is it possible to create a "base" project that I can duplicate?

I have a multitenant application where I create a new project for each new tenant automatically. With the new project I have to run a migration to create the tables but unfortunately with Cloudflare Workers the migration files wouldn't be there in the first place. So I'm thinking using Neon's API, is there a way to create a "base" project that I can use to create new projects for the tenants?
flat-fuchsia
flat-fuchsia2/16/2025

should i really need to migrate to neon's JS driver?

We have been using supabase on a vercel-fastify backend using the @porsager/postgres module. Now we are planning to move to neon, but do we really need to switch to neon's JS driver from the current postgres module we are using?
unwilling-turquoise
unwilling-turquoise2/16/2025

Is it safe to delete a parent branch?

If branch B has parent branch A, can I delete branch A without affecting the data in branch B? Use case: I would like to make modifications to a branch in development and then promote it to production after I have completed modifications and can confirm the changes are good. At that point, the original branch is not useful to keep around....
vicious-gold
vicious-gold2/15/2025

Error while changing a value

Well when i tried to change a value on a column of a table from the neon console i got an error saying Unexpected error happened. I tried to solve this myself but couldn't. The problem is only for the values of a specific column. If I try to change values of any other columns of the same table, I don't get any errors. Is there anything I did wrong ?...
No description
rival-black
rival-black2/15/2025

Neon integration with Inngest exhausted my compute branch quota

Hello, I have some trouble while integrating Neon with Inngest. I followed the Neon & Inngest tutorial to connect both platforms. I first connected to my production branch (main) and observed that the events were correctly published. Then I removed the integration on Inngest's side to connect with my develop branch instead (as it does not seem like we can manage several connections on Inngest's side). ...
continuing-cyan
continuing-cyan2/15/2025

Terrible dashboard performance

Is this a known issue or is there something wrong with my browser setup? I have extreme lag when trying to access even 100 rows of data in the dashboard
extended-salmon
extended-salmon2/14/2025

codeigniter connection string not working

Hello i am using an .env file with codeigniter to connect to neon: database.default.hostname = ep-fancy-rain-a2mtas4g.eu-central-1.aws.neon.tech database.default.database = DB database.default.username = MY_USER...