fix postgresql issues