> since postgres would need to include the Apache license
imho: given that postgres has many corporate forks and contributors from different companies, mixing apache 2.0 and postgresql licenses isn’t ideal - it complicates the legal picture and can even block upstream acceptance.
And if supabase's goal is really this [1], then it makes sense to think through the legal side now and start consulting with the upstream Postgres community early.
[1] https://supabase.com/blog/orioledb-patent-free#aligned-with-...
"We believe the right long-term home for OrioleDB is inside Postgres itself. Our north star is to upstream what’s necessary so that OrioleDB can eventually be part of the Postgres source tree, developed and maintained in the open alongside the rest of Postgres."
Clarification:
As I see it, postgresql already includes a small amount of Apache 2.0 licensed code.
So it’s not as big an issue as I originally thought.
https://github.com/search?q=repo%3Apostgres%2Fpostgres%20apa...
example:
https://github.com/postgres/postgres/blob/88824e68611a88a4ef...