~/talk

Building and Testing Database extensions with Nix

Talkat NixCon 2018 · 2018-10-25..10-27· [databases, developer-experience]
links:none on file
slides:none on file

Shows how Nix builds C extensions for PostgreSQL and Redis, using Nixpkgs and PGXS, and enforces that extensions must match the major Postgres version so mismatches fail to load; integrates extensions by setting PG_LIB_DIR and wrapping Postgres so extensions are discoverable. Uses testing.postgres and pytest with Hypothesis and PG temp to run ephemeral instances for tests. Produces Docker images via nix buildImage but hits GitLab CI limits (no docker socket), so images are exported as tarballs and pushed from another runner.

AI-written summary · about

  1. 0:00Introduction to Nix for dev
  2. 1:31Database extension challenges
  3. 6:08Building extensions with Nix
  4. 11:23Testing infrastructure
  5. 16:52Extending to Redis
  6. 19:55Containerization and CI
  7. 24:22Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.