My use case currently is using EdgeDB and I want to use Neon as the Postgres backend for it. However, on initialization, EdgeDB fails because the interval style parameter in Postgres seems to be ignored. Not sure if this is a bug, or has currently been left off and will be added later?
I would also be happy to contribute to add this in so I can start using Neon if needed!
Okay so looking at this, it seems like through the UI on the SQL editor it works. There is something about the way asyncpg tries to set this that neon doesn’t like?
I think you’re hitting this bug; the neon proxy is not forwarding server settings like IntervalStyle correctly.
As a workaround, you can set IntervalStyle by issuing set intervalstyle = 'iso_8601'; command first in the connection. Is there a way to do that with EdgeDB?
There is no way around this. This happens at bootstrapping time when the DB is getting set up. So none of it is exposed to the user. I looked at the issue and its track. It seems that not much progress has been made to fixing it yet. Is there a timeline on when this might be fixed?