Correction for postgresql include path.

Fix #150.
Integerate callout into event loop.