[Major] Implemented PostgreSql AuditQuery