Hello Alexei, I'm not sure what your question about performance is. The example is to show how to interface to Postgresql and other C libraries. Depending on your application, external libraries in general may perform better or worse than native A+ code. Performance is one of many factors to be considered. brian