gobank-db — Documentation

Shared database layer for gobank — expand/contract migrations, contract views, and dual-backend support (pglike + Postgres).

Pages

Research

These notes moved here from the gobank project because this is the package that implements them.

  • Contract Views — blue-green and expand/contract in one database, as walked by the test suite
  • Expand/Contract Migrations — the pattern, the Apply runner, and the separate-database form with logical replication
  • Blue-Green Schemas — the search_path form in PostgreSQL and how the view swap stands in for it