This site is about a previous instance of this event. For the current event, please see the updated site.

Schedule - PGConf.EU 2018

PostgreSQL Serverside Programming in C

Date: 2018-10-24
Time: 12:10–13:00
Room: Casablanca
Level: Intermediate

You can write user-defined functions in many different languages, but in order to use many of the other extension points and APIs in the server, you must write C. C programming in the server environment is a bit different from a stand-alone application. The server has facilities for things like memory management, error handling, and string handling, which make your life a lot easier, but you must learn them first. In this presentation, I will walk through these basic facilities, as well as how to interact with the various caches, transaction management, and so on, in the server.

This presentation is useful for anyone interested in writing an extension in C, or in hacking on the server code itself.


The following slides have been made available for this session:


Heikki Linnakangas