Set connLogFunc for postgres