Neon

N

Neon

The official Neon Database Discord

Join

🙏|feedback

❓|questions-and-answers

🐘|postgres

extended-salmon
extended-salmon3/15/2025

Is there a way to get a diff of two databases

I have a branch of a database which I've made some changes to. Is there a way to quickly determine the diff between the databases?
constant-blue
constant-blue3/15/2025

I have got some error in DB

Please review it fast and solve it fast
absent-sapphire
absent-sapphire3/14/2025

Security measures on Vercel Serverless functions

Hi, Could anyone share guidance on securing Neon when using it with Vercel serverless functions? I’m a bit concerned about having our database accessible over the public internet. ...
passive-yellow
passive-yellow3/14/2025

Trying to grant access to public schema, failing to grant access to public schema

I want to use Neon for my Better Auth authentication, to do this I need my user to be able to write to the public schema I've created a new user called inklud_website, and a DB called inklud_website To grant permissions for my user I've ran ```sql...
fair-rose
fair-rose3/13/2025

Using neon with honoX

Hey! I am trying to use neon with an app i built on honoX (https://github.com/honojs/honox) but i run into a bit of issues. When i follow this guide https://neon.tech/docs/guides/cloudflare-workers i get this:
All attempts to open a WebSocket to connect to the database failed. Please refer to https://github.com/neondatabase/serverless/blob/main/CONFIG.md#websocketconstructor-typeof-websocket--undefined. Details: fetch failed
All attempts to open a WebSocket to connect to the database failed. Please refer to https://github.com/neondatabase/serverless/blob/main/CONFIG.md#websocketconstructor-typeof-websocket--undefined. Details: fetch failed
...
genetic-orange
genetic-orange3/12/2025

if one safekeeper crashes without a way to recover, humans are still needed?

https://neon.tech/blog/paxos, said
If the safekeeper is up again, it can join the cluster automatically. But if it crashes without a way to recover, we need to change cluster membership. Right now, such a change requires humans to be in the loop to ensure that the old safekeeper is actually down. It is on our roadmap to automate this procedure.
was it done? Thanks....
noble-gold
noble-gold3/12/2025

Command failed : timeout 90s waiting to connect to compute_collect http

Hi I am trying.to install neon on my local server .. local deployment ... I am getting above error ...
yappiest-sapphire
yappiest-sapphire3/12/2025

NextJS -> Next-Auth -> Drizzle ORM -> NeonDB Setup Help

I'm wondering if anyone has successfully set up this stack? I can't for the life of me figure out what is wrong with my setup, but when I try to signIn with OAuth, I get a NeonDBError. [auth][error] AdapterError: Read more at https://errors.authjs.dev#adaptererror [auth][cause]: NeonDbError: relation "account" does not exist...
No description
ambitious-aqua
ambitious-aqua3/11/2025

Production Server down for hours: Too many connections attempts

Server has been down for hours this morning We tried increasing the limit from 3-4 instance to 8-8 and still no avail. There was NO way for me to completely shut down the database connections and restart like traditional database services would so I was stuck. I had to clone the database into a new branch and put a temporary fix on it but we need to resolve this asap. We use connection pooling with prisma + nextJS and host on vercel. ```...
No description
correct-apricot
correct-apricot3/10/2025

HOW TO EXPORT ALL DATA FROM THE NENON DB?

i want to export all the data from the neon db
complex-teal
complex-teal3/9/2025

"back in time" branches

can i go to a specific datetime snpashot of my neon db? for example i want to go to exactly 1 month ago to that state and lets say create a branch with that EXACT state. is it possible? Is a creation of such branch takes a lot of resources and time? ...
puzzled-coral
puzzled-coral3/8/2025

is there a limit to the amount of db connections?

hi. i want to ask if there's a limit to the # of concurrent db connections at once via the http driver. we've been getting many errors with supabase where we exceed their set limit for no apparent reason (even though cpu usage is barely at 40%)
rising-crimson
rising-crimson3/7/2025

Want to upgrade but can't change payment method email?

Hi, I'm trying to add a payment card but the email is wrong in the Stripe portal. This is the old email that was on the Neon account on creation (i've since change the email). How do I solve this? I really need to upgrade my account
No description
optimistic-gold
optimistic-gold3/7/2025

Permission to alter the content of system tables

I need to alter the content of the pg_catalog.pg_class table to replace reltuples and relpages with custom values (yeah, it's a strange need but my project depends on it). On a local Docker PostgreSQL instance, I can run ALTER USER my_user WITH SUPERUSER, which allows me to create a function with SECURITY DEFINER that has permission to modify system tables. How can I do something similar with Neon? Thanks
adverse-sapphire
adverse-sapphire3/6/2025

search_path and NeonPostgres (LlangChain) - how to set it?

Hi there - I'm using NeonPostgres from LlangChain community, and I figured it should be able to set the search_path in the connection string (for multi-tenant), but it's just not working for me. Any ideas would be helpful -- I feel like I've done the obvious stuff. Thanks!...
passive-yellow
passive-yellow3/6/2025

How can I properly mock neon with Jest in a Next.js application?

I need to add a unit test for this query: `import { neon } from '@neondatabase/serverless' const sql = neon(process.env.DATABASE_URL as string) ...
optimistic-gold
optimistic-gold3/6/2025

ETA on Creates a project on WoskOS authentication provider

Hi Neom team, when I check the API at https://console.neon.tech/api/v2/projects/auth/create Creates a project on a third-party authentication provider's platform for use with Neon Auth currently only support stack and mock. I am currently using WorkOS Any eta on creating auth provider for work os...
flat-fuchsia
flat-fuchsia3/5/2025

How to GRANT superuser to Neon-created db owner role?

When creating database datamart_db, Neon automatically created role datamart_db_owner. We have another role with more restricted access (used by external replicator) that creates tables within this database. Since datamart_db_owner does not own those tables it cannot GRANT privileges on them (even just SELECT). It seems like datamart_db_owner, since we use it as our 'admin' role, should have Postgres SUPERUSER role (ie. the Postgres role, not neonsuperuser) but trying ```ALTER ROLE datamart...
absent-sapphire
absent-sapphire3/5/2025

does anyone here work for neon? i need help with aws subscription

i purchased a subscription via aws and sent an email to support on monday but haven't heard back, can i talk to someone here about it?