An example PostgreSQL ProcessUtility_hook module, so you can see how they work