Neon

N

Neon

The official Neon Database Discord

Join

🙏|feedback

❓|questions-and-answers

🐘|postgres

rival-black
rival-black3/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 ...
wise-white
wise-white3/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
flat-fuchsia
flat-fuchsia3/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
rare-sapphire
rare-sapphire3/10/2025

HOW TO EXPORT ALL DATA FROM THE NENON DB?

i want to export all the data from the neon db
deep-jade
deep-jade3/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? ...
optimistic-gold
optimistic-gold3/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%)
fair-rose
fair-rose3/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
extended-salmon
extended-salmon3/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
unwilling-turquoise
unwilling-turquoise3/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!...
optimistic-gold
optimistic-gold3/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...
unwilling-turquoise
unwilling-turquoise3/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?
flat-fuchsia
flat-fuchsia3/5/2025

Db & Schema owner unable to GRANT SELECT on 1 schema while another in same db works

Anyone know why GRANTing all table access to 1 schema would fail while succeeding for another schema in the same db? This failure happens when run as the database owner (either from Atlas or from the Neon SQL Editor). This is the code, run right after creating role 'datamart_pg_reader': ```GRANT USAGE ON SCHEMA dm TO datamart_pg_reader; GRANT USAGE ON SCHEMA plus TO datamart_pg_reader; REVOKE ALL ON SCHEMA public FROM datamart_pg_reader;
-- does not work, even if changed to SELECT, MAINTAIN:...
conscious-sapphire
conscious-sapphire3/4/2025

What is the proper way to connect neon with drizzle orm in next js?

I'm working on an next js application deployed to vercel with drizzle orm - neon postgres Following the drizzle orm docs I've setup my db as below ```js import { neon } from "@neondatabase/serverless" import { config } from "dotenv"...
rival-black
rival-black3/4/2025

Prisma Pulse discontinued - realtime alternatives?

With Pulse being discontinued, I'm looking for other solutions that can provide realtime updates for Postgres/Neon. Is there anything else out there that I might've missed?
extended-salmon
extended-salmon3/3/2025

Export to csv in neon console ui not working

Clicking on "Export all to .csv" doesn't trigger a request / event and nothing happens. It's always worked in the past and we just started experiencing issues March 2, 2025. I've tried with tables in different projects as well as tables with just a few records and still no csv is downloaded. Could you please help?
robust-apricot
robust-apricot3/3/2025

Diagnose "data transfer quota exceeded" errors

My project has shut down for the month because Your project has exceeded the data transfer quota. This is perfectly reasonable. However, I'm not sure what I did to hit 5GB data transfer in 2 days. I don't see a dashboard to check what queries transferred what amount of data and what IP addresses are involved? There's almost no visibility into the data transfer aspect of things...
foreign-sapphire
foreign-sapphire3/2/2025

deleting history

I know I can save the specific history from the query editor but i want to know how can i delete the history in left hand sidebar
No description