dbdev
dbdev · In-database client for installing packages from the database.dev registry.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100976 | dbdev | dbdev | 0.0.5 | ADMIN | Apache-2.0 | SQL |
Usage
Sources:
dbdev is the in-database client for the database.dev registry of PostgreSQL Trusted Language Extensions. The catalog entry corresponds to the registry package supabase@dbdev; it downloads package SQL, registers it through pg_tle, and exposes installed packages as PostgreSQL extensions.
Core Workflow
First install pg_tle and http, then follow the bootstrap SQL on the official package page to register and create supabase@dbdev. After that, install a versioned package and enable it as an extension:
The principal SQL API is dbdev.install(package_name text). It fetches available versions and upgrade paths from the registry, calls the pg_tle installation functions, and registers a download event. Pin the extension version in CREATE EXTENSION for reproducibility.
Operational Notes
Version 0.0.5 requires the http and pg_tle extensions plus outbound HTTPS access to database.dev. Installing a package executes SQL obtained from the remote registry inside the database, so review the selected package and version before installation and control who may call dbdev.install. The official documentation warns that logical restore of databases containing TLEs can fail and recommends physical backups for this workflow.