r/databasedevelopment • • 28d ago

Building the Gravity Query Engine (pgrust)

https://malisper.me/programming-at-light-speed/
20 Upvotes

5 comments sorted by

6

u/krkrkrneki 27d ago

I applaud tackling hard and interesting projects and this looks like one. I do have a gripe however: AGPL license.

Original PostgreSQL is under a permissive BSD license and it took decades to build it. This project used AI to transliterate it in weeks with very little effort. While limiting users to AGPL is legal, it's IMO not ethical.

Also, in these days of AI, as you can see yourself, it's very easy to make a transliterated work. It's very easy to recreate pgrust again the same way you did: start from Postgresql, use AI, etc.. In this sense AGPL protects nothing, just turns some potential users away.

Just my 2c.

3

u/Fabulous-Meaning-966 27d ago

how can you even enforce copyright on AI-generated code?

1

u/linearizable 27d ago

AGPL is the unfortunate reality of companies trying to sell a database and not get undercut by being OSS. It’s the strongest stance, and BSL,etc. are more focused, but I feel like I’ve gotten used to the “OSS as AGPL and commercial license if you want to actually run it”.

1

u/diagraphic 26d ago

Open-core I think is a better stance, take ClickHouse as an example, which is Apache 2. BSL and AGPL are not looked up upon in the open source community, this is seen everywhere. Take Redis moving from BSD, this only caused a fork of Redis and now their losing money because of Valkey, this is probable the truth!