Postgres based identity match engine