Supabaseoli_rice,daltjoh-awsAnnouncement
dbdev: PostgreSQL Package Manager
Summary
database.dev is a public preview of dbdev, a PostgreSQL package manager whose registry is currently read-only and preloaded with packages demonstrating packaging and discovery possibilities. It aims to provide repeatable deployment of libraries and applications, with third-party publishing tools planned after community feedback, and uses organization- or user-namespaced package names to address name and typo squatting. The in-database client installs packages, which PostgreSQL then exposes as native extensions; dbdev adds major.minor.patch version constraints, while compatibility currently requires Supabase new projects or PostgreSQL with pg_tle and pgsql-http. Examples include a hybrid document-search backend, an index advisor that reports a sample total-cost reduction from 25.88 to 6.40, and administration views for database diagnostics. The preview depends on Trusted Language Extensions, and the post invites reports, feature ideas, and contributions while noting that pl/rust had not yet reached Supabase.
Context
The project is motivated by creating an open ecosystem for packaging and discovering SQL, enabling repeatable deployment of PostgreSQL libraries and applications, and providing a more modern development experience than PostgreSQL's existing extension tooling. It also addresses package name squatting and typo squatting through namespaces.
Approach / What changed
dbdev uses an in-database client to install registry packages as native PostgreSQL extensions. It adds major.minor.patch version constraints and namespaces packages by an owning organization or user handle. The preview relies on Trusted Language Extensions and supports Supabase projects or PostgreSQL instances with pg_tle and pgsql-http.
Takeaways
The registry is read-only during the public preview, with third-party publishing tooling planned after community feedback.
Namespaced packages use the owning organization or user handle, so a fork published by another account receives that account's namespace.
olirice-index_advisor recommends indexes from query explain plans and showed total cost decreasing from 25.88 to 6.40 for the sample query.
Source and freshness
- Source
- supabase.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.