Neon

N

Neon

The official Neon Database Discord

Join

🙏|feedback

❓|questions-and-answers

🐘|postgres

fair-rose
fair-rose4/14/2025

I am trying to run test migrations by creating a branch in neon for db of my already deployed app

The flask app is deployed on render and I am following the article for this purpose my app also connects to redis when launched so I have made changes to the workflow given in the article (basically it spins up a redis server and checks it via redis client with a PING request) I have added an API key and added my NEON_PROJECT_ID and NEON_API_KEY but I am getting the following error ``` branch doesn't exist, branch id: br-restless-shape-a1yqjyx0...
rival-black
rival-black4/13/2025

Cant load tables in the sites

Cannot migrate anything to db
No description
correct-apricot
correct-apricot4/12/2025

issue with query performance vs query duration

hey there. i'm running into issues where queries are taking ~1ms to execute+plan but instead of returning within ~5ms they sometimes take up to 6 seconds.
No description
rival-black
rival-black4/10/2025

Neon branching: Branch limit exceeded - Status not available

I think I'm getting this error incorrectly. I don't have a Neon project assigned to this Vercel application. I'm using turborepo to run 3 apps, only one of which is connected to my Neon db. My neon project only has 2/10 branches....
quickest-silver
quickest-silver4/9/2025

Script to set Vercel preview branch env vars?

Consider a monorepo repository with 3x projects on Vercel. One of them gets to be the primary integration with neon. This will create db branches and set the env vars on vercel. What about the other two? Is there a github action that will automatically set the env var for the database?...
sensitive-blue
sensitive-blue4/9/2025

Neon Database Branch Deletion Issue in GitHub Actions

I'm facing a permission issue with Neon Database branch deletion in my GitHub Actions workflow. The API key works for listing projects but fails when trying to delete branches. The Error ``` 
ERROR: user has no access to projects...
mute-gold
mute-gold4/9/2025

Can't create table in public schema as 'unrecognized configuration parameter "anon.maskschema"'.

I have tried using a different schema to public, can't find any reference of this happening anywhere on the internet. This is using a db created before vercel handed off all db stuff to neon, and when I could control the db from vercel. Not sure if that matters.
No description
quickest-silver
quickest-silver4/8/2025

Can I transfer a Vercel-created storage to another team?

I'm trying to move my vercel-created Neon DB to a neon-native team, but the transfer button is disabled.
No description
like-gold
like-gold4/8/2025

Unable to connect to NeonDB

I’m currently experiencing a connection issue with my Neon PostgreSQL instance. Since this morning, my application is failing to connect to the database with the following error: ``` (psycopg2.OperationalError) could not translate host name "ep-shy-grass-a42wchrp-pooler.us-east-1.aws.neon.tech" to address: No such host is known. ...
correct-apricot
correct-apricot4/8/2025

RLS with anonymous and authenticated

Hi there. I'm wondering if it's possible to use one single connection string to connect to either an anonymous or authenticated role, depending on the JWT provided by the connection string - i.e. if i can use only the anonymous role (with a password) and provide the token to optionally move the user to authenticated - is something like this possible?
rare-sapphire
rare-sapphire4/8/2025

Archivo SSL

Necesito que neon me de un archivo ssl para conectarme junto con lookerStudio pero no logro encontrarlo. Alguno me puede dar una mano con ello?
vicious-gold
vicious-gold4/7/2025

Restore error: The provided timestamp is before your branch's first activity

Help! My app crashed so I created a restore from my only branch and only database. I selected a timestamp immediately before my Vercel logs started showing errors. I still cannot see any data - all tables are empty. Now I cannot restore earlier than this timestamp on either the main restore branch or the main_old_copy. I get this error message when I try to query at an earlier timestamp (when I know data did exist in the database): Query at timestamp Server error (HTTP status 500): {"message":"The provided timestamp is before your branch's first activity, try a more recent timestamp.","code":"","detail":null,"hint":null,"position":null,"internalPosition":null,"internalQuery":null,"severity":"","where":null,"table":null,"column":null,"schema":null,"dataType":null,"constraint":null,"file":null,"line":null,"routine":null} ...
flat-fuchsia
flat-fuchsia4/7/2025

MCP setup

Has anyone been able to setup an MCP to connect to their database on neon using cursor?
ambitious-aqua
ambitious-aqua4/7/2025

'utf-8' codec can't decode byte 0xc2 in position 67: invalid continuation byte

guys I did everything step-by-step on https://neon.tech/postgresql/postgresql-python/connect but this error keeps showing up, what's wrong?
other-emerald
other-emerald4/7/2025

Getting started on neon

How do I get started on the neon codebase? Is there a list of good-first-issues?
afraid-scarlet
afraid-scarlet4/7/2025

Quota

I’ve hit my quota and can’t get my data is there a way to export my data?
deep-jade
deep-jade4/6/2025

Can't get logical replication neon-to-neon to work

I've spent a lot of time reading, re-reading, creating brand-new NeonDB's (via Vercel) to get the Logical Replica behaviour to work following these exact steps 3x https://neon.tech/docs/guides/logical-replication-neon-to-neon with no luck. I can see in PGAdmin that the source db (with Logical Replica turned on via NeonDB panel) has the right Publication config. Then i switch over to the subscription DB in another region, follow the instructions and I can see in that DB the Subscriptions information is setup (even though from PGAdmins perspective it's not happy some fields are not populated like "database"|"host"|"port"|... etc). I insert new data from Source but cannot see anything in the replica instance. 😢 I can see on in the Subscribers table fluctuating pg_stat rows (as per screenshots). Is there anything glaringly wrong with what I'm doing?...
No description
robust-apricot
robust-apricot4/6/2025

pg_documentdb support?

Any chance of supporting https://github.com/microsoft/documentdb ? Got some legacy apps using mongodb and would be nice to bring them over to postgres via https://www.ferretdb.com/....
fascinating-indigo
fascinating-indigo4/5/2025

Neon-Auth API for Python backend

hey guys , were a bit confused on how to tackle integrating Neon-Auth with a python server. Can we connect to the Neon-Auth API directly instead of Stack-Auth? if so could you list what endpoints these be ? From the documentation it wasn't exactly clear: https://neon.tech/docs/guides/neon-auth-api#list-integrations...
No description