Neon

N

Neon

The official Neon Database Discord

Join

🙏|feedback

❓|questions-and-answers

🐘|postgres

gradual-turquoise
gradual-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....
sunny-green
sunny-green2/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
conscious-sapphire
conscious-sapphire2/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). ...
metropolitan-bronze
metropolitan-bronze2/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
harsh-harlequin
harsh-harlequin2/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...
ratty-blush
ratty-blush2/14/2025

Managing Neon Branch Deletion After PR Merge/Close

Hey Team, I'm using the Vercel integration with Neon for preview deployments, and it's working well. However, I noticed that when we merge or close a PR, the corresponding preview branch in Neon isn't automatically deleted. Is there a way to automate this cleanup process? Any insights or best practices would be appreciated....
other-emerald
other-emerald2/14/2025

How are the computing resources distributed among all my projects?

How are the computing resources distributed among all my projects? If I upgrade to a paid plan, can I distribute the computing resources, i.e. vCPU and RAM, or is it done automatically or, better yet, does it assign the same capacity to each project?
grumpy-cyan
grumpy-cyan2/13/2025

Debiting funds

Good afternoon. Tell me, I'm on the free tariff, but I've been charged $19 for not using anything.
No description
solid-orange
solid-orange2/13/2025

Partnership Invitation for HackByte 3.0

Hey Team, I'm looking to discuss a potential partnership with Neon for HackByte, Central India's biggest Hackathon in Jabalpur, India. We're expecting over 500 developers and tech enthusiasts from across country, and we believe Neon could be a fantastic partner for our hackathon. Could someone point me to the best person to contact for partnership opportunities? I'd really appreciate it! Thanks in advance for your help!...
extended-salmon
extended-salmon2/12/2025

Rust diesel R2D2 runtime error prepared statement

I'm switching from non-pooled to pooled and using R2D2 in diesel. I don't get any compile time errors but I do get repeating errors in the log of ERROR r2d2: unnamed prepared statement does not exist. I see some others on Reddit having the same problem and adding some name/value pair to the connection string but saying it is Host specific. How do I fix this on Neon for my Rust/Diesel/R2D2 async pooled connection?
harsh-harlequin
harsh-harlequin2/12/2025

Local Next.js with Prisma/Postres Security

How can I run a local Next.js Dev server against NEON db - without exposing my credential - as this local dev server runs on HTTP (and not HTTPS)? I was reading https://neon.tech/guides/local-development-with-neon but it doesn't go into this aspect explicitly. Thank you!...
exotic-emerald
exotic-emerald2/12/2025

The neon dashboard is showing limit exceeded despite using only 30mb

I am facing this issue of storage limit exceeded. I don't have any data and just 5 empty tables with less than 6 columns each. Please help with this issue.
No description
afraid-scarlet
afraid-scarlet2/11/2025

Preventing production data from scheduling application workflows on preview branch

Hey all! I'm currently building an application which includes a task scheduler. The idea is that I have a scheduler running on a fixed interval which schedules tasks based on the user-defined configuration in my database. However, when branching out from main the configuration data is actually copied from the production database. This would mean that if i have the same scheduler running in my preview environment, this would essentially start scheduling workflows for my users (which would in turn fail due to missing credentials from my KV storage)....
ambitious-aqua
ambitious-aqua2/11/2025

Issues with Data Migration

Hi, I'm having issues with migrating my neon database. I have a Nextjs app thats hosted on Vercel and Ive been following this documentation https://neon.tech/docs/import/migrate-from-neon. Ive been running the command pg_dump -Fc -v -d <old_neon_database_connection_string> | pg_restore -v -d <new_neon_database_connection_string> however the last couple of lines return this. My datbase names are the same, however when refreshing my table in my new database I dont see the data reflected ``` pg_restore: warning: invalid creation date in header pg_restore: connecting to database for restore pg_restore: implied data-only restore...
metropolitan-bronze
metropolitan-bronze2/10/2025

WAL changes without polling?

Is it possible to subscribe to the WAL change stream with a websockets client in cloudflare durable objects?
ratty-blush
ratty-blush2/10/2025

RLS PostgreSQL with Next Auth?

Can I use Next Auth instead of the providers listed to use RLS?
fascinating-indigo
fascinating-indigo2/9/2025

Neon smithery fails to connect to MCP in Cursor

I'm having a nextjs project and trying to execute generated cli command by Smithery which looks like this:
npx -y @smithery/cli@latest run neon --config "{\"neonApiKey\":\"{API_KEY}\"}"
npx -y @smithery/cli@latest run neon --config "{\"neonApiKey\":\"{API_KEY}\"}"
...
wise-white
wise-white2/7/2025

Local file cache hit rate dropped to 0

Hello, We've been using Neon for a little over a year and have always seen our local file cache hit rate at more than 99%. This past week we observed it drop to 0 and rebuild back to 80% before dropping back to 0 and sustaining. the first time this dropped to 0 was during a deployment when connection count spiked however the second time we saw it drop to 0 was when the connection count dropped to 0
No description