set postgres environment