postgres handler for Node Blog Engine