Supabase is now on Postgres 13.3
New Supabase projects now run Postgres 13.3 (up from 12.0), bringing native gen_random_uuid, parallel index vacuuming, incremental sorting and smaller B-tree indexes. Supabase Postgres versioning now tracks upstream major/minor versions, and Postgres is built from source so ARM Graviton 2 instances can use Large System Extensions (LSE) for faster atomics and locking, with pgbench comparisons on m6gd.8xlarge. The release also moves to Ubuntu 20.04, adds the pgRouting and wal2json extensions, configures fail2ban on ports 5432 and 6543 (10-minute ban after three failed attempts), and previews PgBouncer/PostgREST marketplace bundles.
Related posts
- Postgres WASM by Snaplet and Supabase
Supabase mediumAdeptpostgres-wasm runs a full PostgreSQL 14 server in the browser by emulating an x86 machine with v86 rather than compiling Postgres to WASM directly. It boots a minimal Buildroot Linux image and lazily loads the rest over a 9P filesystem via HTTPS, and it uses the page_poison=on kernel parameter so freed memory compresses well, which brings the snapshot of a running Postgres down to about 12MB. Networking goes through a forked websockproxy that converts raw ethernet frames into TCP, with an nginx reverse proxy that maps private IPs to ports so external clients like psql, PgAdmin or a logical replication peer can connect. Other hurdles included a v86 JIT bug that caused PG14 segfaults, worked around by switching Postgres to sysv shared memory, and an inbox-folder listener for running scripts inside the VM.
- Why Does Everyone Run Ancient Postgres Versions?
Neon easyNovice
Many teams stay on old Postgres major versions because older releases already meet most needs and major upgrades are costly: they can break backward compatibility and usually require logical replication, incremental table migration, testing and a planned cutover. Knock (11 to 15) and Retool (9 to 13, 4 TB) both followed that pattern, including separate publications with copy_data = false for large append-only tables and feature-flagged traffic switching. Reasons to upgrade anyway include the five-year support lifecycle, the growing difficulty of skipping many versions, performance gains such as roughly halved tail latency since version 8, and ecosystem compatibility. The pgversions.com tool lists the security fixes, bug fixes and features a given version is missing.
- Supabase Storage: major performance, security, and reliability updates
Supabase mediumAdeptSupabase Storage replaces its trigger-maintained prefixes table with a hybrid skip-scan algorithm that derives folder structure at read time, and switches from OFFSET to cursor-based pagination, making deep pagination up to 14.8x faster on 60 million rows with no write penalty. The release also closes a file-backend path traversal bug and blocks direct SQL DELETEs on storage tables that orphaned S3 objects. It adds Postgres query cancellation on client disconnect, idempotent migrations verified by pg_dump comparison, a fix for a TUS S3 lock renewal race, and a move from prom-client to OpenTelemetry metrics. No code changes are required, though switching to the listV2 endpoint is recommended.
- Faster config, migrations and functions on branches
Supabase mediumAdeptSupabase preview branches are separate projects that become ready in about 20 seconds (median) by running three mostly parallel workflows: copying configuration, applying migrations, and deploying Edge Functions. Postgres settings are written to disk without a restart so the single restart triggered by enabling WAL-G backups picks them up. SSL enforcement is ordered before the first backup so a restart can't corrupt it, and gitless branches wait for the last restart before migrating. Migrations are split by a Go reimplementation of psql's lexer, validated against regression tests and fuzzing, and each file runs as one pipelined transaction together with its history row. Edge Functions are skipped when the SHA-256 of their deterministic Brotli bundle and their JWT setting are unchanged.
- Supabase Local Dev: migrations, branching, and observability
Supabase easyNoviceSupabase's CLI gains a batch of Postgres local-development features: `supabase inspect db` with 19 diagnostic commands adapted from Heroku's pg-extras, `db dump` backups built on pg_dump, migration squashing and diffing via migra, pgTAP testing with `supabase test`, plpgsql_check linting, seeding, and TypeScript type generation that now detects foreign-key relationships. Local logs are viewable in the dashboard, and the CLI moves to a fortnightly stable-release cycle with a beta channel. Branching enters alpha: each GitHub pull request gets an isolated Firecracker-based preview environment that runs the repo's migrations and seed.sql, with migrations applied to production on merge. Production data cloning is deliberately deferred until copy-on-write with anonymization is judged safe.