92 points · by pantalaimon · 5y ago · 23 comments
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".
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.
https://babelfishpg.org/blog/releases/2021/10/babelfish-laun...
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.