PGCon2015 - final

PGCon 2015
The PostgreSQL Conference

Robert Haas
Day Tutorials - Day 5 - Saturday - 2015-06-20
Room DMS 1160
Start time 13:00
Duration 03:00
ID 869
Event type Workshop
Track Tutorial
Language used for presentation English

Introduction to Hacking

PostgreSQL is well-modularized and contains (for the most part) very clean, well-documented code, making modification relatively easy, but the core distribution includes more than one million lines of code, so it can sometimes be difficult to figure out where and how to get started. In this talk, I'll discuss the developer tools that may be useful while modifying PostgreSQL, the major subsystems within the database server, PostgreSQL coding conventions and commonly-used idioms, and just a little bit about the PostgreSQL patch submission process. Topics will include nodes, datums, memory management, system caches, and locking.

This tutorial is intended for those who are at least somewhat familiar with both SQL and with C programming, but want to learn how to apply that knowledge to the PostgreSQL backend.