Hacking PostgreSQL with Eclipse | PGConf EU 2017 | Metin Doslu

024d6a0dd14fb31c804969a57a06dfbe?s=47 Citus Data
October 26, 2017

Hacking PostgreSQL with Eclipse | PGConf EU 2017 | Metin Doslu

Hacking PostgreSQL, writing patches or creating extensions, might seem intimidating at first. The PostgreSQL codebase is huge and ever-evolving. In this talk, I will show how Eclipse, with the help of gdb, can make it a lot more accessible.

In this interactive talk, we will add the PostgreSQL project and set up gdb inside Eclipse. Then, we will walk step through the code using the debugger to reveal some of PostgreSQL internal data structures. We will show how to see the call stacks of errors and crashes, which saves a lot of headaches during development. Finally, we will show how to add a user-defined function that's written in C.

At the end of the talk, the audience will be more familiar with a simple but powerful environment to hack PostgreSQL.

024d6a0dd14fb31c804969a57a06dfbe?s=128

Citus Data

October 26, 2017
Tweet