dbdev
Documentation: https://supabase.github.io/dbdev
Source Code: https://github.com/supabase/dbdev
Overview
dbdev is a package manager for Postgres trusted language extensions (TLEs). It consists of:
- database.dev: our first-party package registry to store and distribute TLEs.
- dbdev CLI: a CLI for publishing TLEs to a registry.
- dbdev client: an in-database client for installing TLEs from registries.
If you want to publish your own TLE, you will need the dbdev CLI. Follow its installation instructions to get started.
If you want to install an extension from the registry, you will need the SQL dbdev client. Follow its installation instructions to enable it in your database.
Warning
Restoring a logical backup of a database with a TLE installed can fail. For this reason, dbdev should only be used with databases with physical backups enabled.