Hacker News new | ask | show | jobs
by tristan957 897 days ago
This extension is licensed under the Business Source License[0], which makes it incompatible with most DBaaS offerings. The BSL is a closed-source license. Good choice for Lantern, but unusable for everyone else.

Some Postgres offerings allow you to bring your own extensions to workaround limitations of these restrictive licenses, for instance Neon[1], where I work. I tried to look at the AWS docs for you, but couldn't find anything about that. I did find Trusted Language Extensions[2], but that seems to be more about writing your own extension. Couldn't find a way to upload arbitrary extensions.

I will add that you could use logical replication[3] to mirror data from your primary database into a Lantern-hosted database (or host your own database with the Lantern extension). This obviously has a couple downsides, but thought I would mention it.

[0]: https://github.com/lanterndata/lantern/commit/dda7f064ca80af...

[1]: https://neon.tech/docs/extensions/pg-extensions#custom-built...

[2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Postg...

[3]: https://www.postgresql.org/docs/current/logical-replication....