libpq.pc, not pq.pc
check for some tables at initialization
check for pgcrypto
useful pg-related error messages