added libpq integration (it is ROUGH so far lawl)