Time: 12:10 - 13:00
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.