Postgres

Branch your Postgres per pull request

Give each pull request its own branch of your real data, usually ready in under a minute.

volcano.dev/dashboard/database
The Volcano dashboard listing a project's databases

What it does

Managed Postgres you can branch

Try a migration on real rows without touching production.

  • Branches

    Each branch is a copy-on-write fork with its own connection string.

  • Row-level security

    Policies decide what each user's query sees.

  • Autoscaling

    Compute scales with load inside your chosen tier.

volcano.dev/dashboard/database
The Volcano dashboard listing databases with their region, Postgres version and tier

What you need

  • A Volcano account

    Sign up from the CLI.

  • Volcano CLI

    Install with npm.

  • Any Postgres client

    psql, a driver or an ORM.

Try it

Three steps from zero.

  1. Create a database

    PostgreSQL 16, 17 or 18, reachable over TLS.

    bash

    Shell
    volcano login volcano cloud databases create app
  2. Add a table and a policy

    Apply with volcano cloud databases migration up -d app --all.

    One statement per file in volcano/migrations/

    SQL
    create table if not exists notes (id uuid primary key default gen_random_uuid(), user_id uuid default auth.uid(), title text); alter table notes enable row level security; drop policy if exists own_notes on notes; create policy own_notes on notes using (user_id = auth.uid());
  3. Branch it for a pull request

    The branch gets its own connection string and expires on its own.

    bash

    Shell
    volcano cloud databases branches create app pr_482 --ttl 72h volcano cloud databases branches get app pr_482 --show-connection-string

Check it works

  • Write to the branch. The parent database doesn't change.
  • Query signed in, then signed out. Each sees only the rows your policies allow.
  • After the branch expires, its connection string stops working.

Works with

Questions

Can I use my existing Postgres tools with Volcano?

Yes. Volcano runs PostgreSQL 16, 17 or 18 on port 5432 over TLS. Connect with psql, pg_dump, Prisma, Sequelize, TypeORM or any Postgres driver.

Can I use pgvector for AI retrieval?

Yes. Run CREATE EXTENSION IF NOT EXISTS vector, add a vector column and an index, and search embeddings in SQL under your row-level policies.

How many Postgres database branches can I create?

Up to 10 per database on Hobby and 25 on Superagent. Each is usually ready in under a minute and expires when you choose.

More answers in the docs

It will blow your mind!

Pun intended. Build, deploy & scale on the Volcano platform for free.

Start building