postgres=# select * from sessions where video_id = '4KVaeJfWPas';

How to create Postgres patches with AI?

· 87:51 · Hacking process

AI-assisted patch discovery, implementation, review, and submission.

session summary

The session developed a responsible AI-assisted patch workflow: treat prompts as engineering specifications, assign independent security, documentation, and testing reviewers, distrust praise, and use agents to summarize long CommitFest threads without surrendering judgment. They then applied that workflow to a patch that logs the LSN of DROP TABLE, enabling precise PITR after accidental deletion. The agent retrieved and rebased the patch, planned transaction, rollback, savepoint, and documentation tests, and continued adapting it to changed GUC infrastructure; final review remained pending.

timecodes

  1. What AI changes in Postgres hacking
  2. Specifications and independent reviewer roles
  3. Maintenance work and critical AI feedback
  4. AI-assisted patch and CommitFest review
  5. Advice for learning Postgres development
  6. GSoC as an entry into core hacking
  7. Starting a live DROP TABLE logging review
  8. PITR use case, tests, and patch rebase