Like Facebook's OSQuery, but for Postgres