Goodbye Microsoft SQL Server, hello Babelfish
aws.amazon.com
aws.amazon.com
https://www.babelfishpg.org/docs/usage/limitations-of-babelf...
I am not aware of an equivalent function in postgres.
Open-Source Babelfish for Postgres - https://news.ycombinator.com/item?id=29031116 - Oct 2021 (28 comments)
Previously:
AWS Babelfish: The Elephant in the PostgreSQL Room? - https://news.ycombinator.com/item?id=26114281 - Feb 2021 (162 comments)
AWS Goes After Microsoft’s SQL Server with Babelfish for Aurora PostgreSQL - https://news.ycombinator.com/item?id=25276386 - Dec 2020 (10 comments)
Babelfish: SQL Server-to-Postgres Translation Layer - https://news.ycombinator.com/item?id=25267204 - Dec 2020 (113 comments)
Well that sounds like it will be fun to wake up to. Do i have to worry about every windowing function to behave the same way or will there be "approximations".
There's nothing about the design of EF that relates to how connections work: you can let the DbContext manage connections for you or can provide your own. (I assume you know that a DbContext is meant to be short-lived with a single owner) - so I'm very hesitant to say the issue is with EF's design or that the design of EF means you can't mitigate any issues with the PostgreSQL library for .NET.
Do you have a StackOverflow or GitHub post for this? I'd like to know more about this precisely because I'm thinking of switching from Azure SQL to Postgres for its superior data-modelling features (deferred constraints!)
What if there is an “if” branch taken 1 in 1000 times? You would not encounter the error during development.
AWS tools makes it virtually a lock in and using the tool is even worse lockin.
At the same time, the engineering and domain knowledge expertise required to pull this off is undeniably impressive.
This takes the ORM "compatibility promise" into new territory, maybe even a new stratosphere. Imagine if someone (or company) starts a comparable open-source translation extension layer targeting Postgres as the backend. That would be interesting!
Maybe start with the easier case of SQLite->Pg.
That's what Babelfish is.
https://babelfishpg.org/blog/releases/2021/10/babelfish-laun...
https://www.businessinsider.com.au/amazon-uses-seller-data-c...
If it is something else, Please post a link