dbdev: PostgreSQL Package Manager
database.dev (dbdev) is a read-only preview of a package manager for PostgreSQL, playing the role npm or cargo play for other languages. It installs SQL packages as native Postgres extensions via pg_tle and pgsql-http, so they work on hosted platforms without filesystem access. On top of Postgres's own extension rules it enforces major.minor.patch semver and namespaces packages by publisher handle to prevent name and typo squatting. Example packages include an index advisor built on hypopg, PostgREST header tooling and a LangChain hybrid-search backend; the main limitation is that packages must be Trusted Language Extensions, a gap pl/rust narrows.
Related posts
- Trusted Language Extensions for Postgres
Supabase easyNoviceTrusted Language Extensions (TLEs), enabled by AWS's pg_tle extension, let Postgres extensions written in trusted languages like SQL, pl/pgsql, plv8 or pl/rust be installed from any database client via pgtle.install_extension(), without filesystem access on the server. Because C extensions are dynamically linked into the Postgres process with raw memory access, cloud providers vet them slowly. Trusted languages obey Postgres security rules, so TLEs can be distributed safely. Supabase and AWS RDS (Postgres 14.5+) both ship pg_tle, and Supabase's dbdev registry uses pgsql-http to install TLEs from a REST API using only SQL.
- postgres.new: In-browser Postgres with an AI interface
Supabase mediumAdeptdatabase.build (formerly postgres.new) runs unlimited Postgres databases entirely in the browser via PGlite, a WASM build of Postgres, paired with GPT-4o that has full autonomy over the disposable database. The LLM imports CSVs, generates Chart.js charts, builds ER diagrams from real DDL, and does in-browser semantic search using pgvector and Transformers.js. SQL errors are fed back to the model so it can self-correct, and embeddings are stored in a meta table and referenced by ID to avoid sending large vectors to the model. PGlite relies on Postgres's single-user mode plus wire protocol support, a /dev/blob virtual device for COPY, and IndexedDB/OPFS persistence. A new TypeScript library, pg-gateway, handles the startup/auth handshake so standard Postgres clients can connect to PGlite deployments.
- Postgres Language Server: Initial Release
Supabase mediumAdeptPostgres Language Server is an LSP implementation for Postgres offering autocompletion, syntax error highlighting, type-checking via PREPARE/EXPLAIN against a live database, and a Squawk-inspired linter, available for VSCode, Neovim and as a CLI. Its architecture treats each SQL statement as an independent compilation unit with the database schema as the source of truth. A custom Pratt-parser statement splitter falls back to semicolons and double newlines. libpg_query handles precise parsing of valid SQL, while tree-sitter covers incomplete input for autocompletion. On edits, only changed statements are invalidated and later statements just have their ranges shifted, so cached ASTs survive. Completions are scored from a lazily loaded in-memory schema cache, so no database query is needed per keystroke.
- database.build v2: Bring-your-own-LLM
Supabase mediumAdeptdatabase.build, Supabase's in-browser Postgres sandbox built on PGlite, now lets users bring any OpenAI-compatible LLM, with no login and no rate limits. Requests go straight from the browser to the provider. This works because most LLM APIs send CORS headers, and a service worker intercepts the Vercel AI SDK's /api/chat route, reading its BYO-LLM config from IndexedDB. Models need reliable tool calling, SQL knowledge and Chart.js knowledge, so gpt-4o is recommended; local Ollama models still struggle with tool calls, and Ollama buffers tool-call streams. The release also adds one-click deploys to Supabase by piping server-side pg_dump over Live Share into pg_restore, and replaces the tar.gz export with a WASM pg_dump. Serverless PGlite was shelved because of its memory use and single-connection limit in multi-tenant setups and unreliable s3fs storage.
- Bring Your Own Extensions to Serverless PostgreSQL
Neon easyNovice
Neon now supports private and custom Postgres extensions in its serverless platform via Dynamic Extension Loading, available in beta on request. Extensions are built in a separate repository and stored in S3, configured per user in the control plane. Compute instances download control files at startup and fetch library files lazily when extension functions are first called, so extensions can be added without restarting compute. Neon plans to move default extensions into this storage too, shrinking the compute image and speeding up cold starts while reducing the attack surface in a multi-tenant environment.