Neon

N

Neon

The official Neon Database Discord

Join

šŸ™ļ½œfeedback

ā“ļ½œquestions-and-answers

🐘|postgres

sensitive-blue
sensitive-blue4/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?
stormy-gold
stormy-gold4/7/2025

Getting started on neon

How do I get started on the neon codebase? Is there a list of good-first-issues?
like-gold
like-gold4/7/2025

Quota

I’ve hit my quota and can’t get my data is there a way to export my data?
ratty-blush
ratty-blush4/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
quickest-silver
quickest-silver4/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/....
extended-salmon
extended-salmon4/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
optimistic-gold
optimistic-gold4/5/2025

neon-tech PostgreSQL database compute is suspended

I am using neon-tech free plan. i was using the PostgreSQL database and now i see that the compute is suspended. can someone help me as i am unable to connect to the database now.
extended-salmon
extended-salmon4/4/2025

Nobody responding to support emails?

Nobody is responding to my support emails and if nobody responds i will have to process a chargeback with my bank
firm-tan
firm-tan4/3/2025

connect to neon pg

Hello everyone, I’m new to the Neon platform: connection to server at "ep-little-mud-a2wy8oll.eu-central-1.aws.neon.tech" (2a05:d014:aa3:7a0a:2022:d2c:7ebc:587b), port 5432 failed: Network is unreachable Is the server running on that host and accepting TCP/IP connections? i get this error any help ?...
stormy-gold
stormy-gold4/3/2025

Import to Neon from Parquet files

Hi, I have a use case in which i need to migrate a table stored in parquet to Neon. With postgres, there are a few options (pg_parquet or use duckdb). Can I use any of the above two options to write data from parquet to Neon? Thank you!
statutory-emerald
statutory-emerald4/3/2025

migrating from supabase

hey there. i'm trying to migrate from supabase right now. i'm trying to go the route of CDC and moving writes from supabase -> neon. the issue is that i can't create the replication slot correctly the issue that i run into is the fact that neon can't connect to supabase. i know it is possible - i use Sequin as CDC (which uses replication and everything). the issue is that when creating the subscription, neon throws the following error: ``` Query 1 ERROR at Line 1: : ERROR: could not connect to the publisher: connection to server at "db.xxxx.supabase.co" (xx.xx.xx.xx), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections?...
automatic-azure
automatic-azure4/3/2025

Connecting to pgAdmin Locally installed on Mac

Error Connecting encoding with idna codec failed (UnicodeError: label empty or too long...
other-emerald
other-emerald4/2/2025

Storage

Storage warning. My two databases are very very small, I think there's a bug or there's something I dont understand. SOLUTION: CHANGE POINT IN TIME STORAGE FROM 24H TO 0 OR DESIRED AMOUNT...
No description
rare-sapphire
rare-sapphire4/2/2025

Why one of the arguments of GetPage is LSN?

Hello Neon Team, I'm trying to figure out how Neon works, and I can't figure out one detail. One of the arguments to the GetPage function is an LSN, which is needed to determine the page version. However, as I understand it, pageserver is part of the storage manager (in the sense that in read-only compute, on which GetPage is called, it is precisely part of the storage manager). In postgresql, LSN (which in my understanding is similar in meaning to xid) is used in access methods to determine the version of a relation using MVCC, that is, it is a higher-level mechanism, and the storage manager simply searches for a specific page and does not know anything about MVCC. Why does GetPage accept an LSN as input, and not just give out a page with the required number upon request, if it is supposedly part of the storage manager? What should I read to better understand the motivation for such a decision? I read some articles from your blog, in particular https://neon.tech/blog/persistent-structures-in-neons-wal-indexing, but I couldn't understand from them the reason why this API is designed like this...
cloudy-cyan
cloudy-cyan4/1/2025

Can I pay using AWS?

Hi there, I did follow these steps: https://neon.tech/docs/introduction/billing-aws-marketplace - but at step 7 I see no "Click here to set up your account" link anywhere. If I go to "AWS Marketplace => Manage subscriptions => Neon" inside my AWS Console, and then click "Actions => Set up product" a new window appears, and still no "Click here to set up your account" link. ...
No description
national-gold
national-gold4/1/2025

The provider did not return a ProviderManifestToken string

I am trying to connect an MVC 5 .Net 4.7.2 project using EF6, and I am getting this error 'The provider did not return a ProviderManifestToken string' any thoughts?
wise-white
wise-white4/1/2025

Paid Branch Compute

Is there any way to increase the free-tier limit of 5 compute hours for branches without upgrading plans? I'd be happy to pay whatever I exceed in branch compute but spending $20/month just to increase the compute limit seems a little excessive.
other-emerald
other-emerald3/31/2025

"non-primary" compute

I see in the dashboard,
You've used 94% of your non-primary compute allowance this month.
I cannot find in docs what "non-primary" compute is. Does this mean any compute that is not on the "default" branch?...
fair-rose
fair-rose3/31/2025

What happens if I exceed my plan purchased on AWS?

As title. Does access get cut off? Can I do pay-as-you-go like with regular plans?
other-emerald
other-emerald3/30/2025

Connection issue with neon DB and FastAPI application deployed on Vercel

FastAPI application that is connected to Neon DB (serverless Postgres) works locally, but fails to establish a database connection on deployment in Vercel. lifespan or startup event handlers for initializing the database pool seem to not execute or fail in the deployed environment. No proper error statement is shown. What is the source of this issue? . Is it Vercel or NeonDB? What are the alternatives to keep DB connection alive throughout session. I want the DB pool connection to be closed only when FastAPI app stops running. Here is the code snippet ```...