*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/storage/ipc/sinval.c,v 1.65 2004/07/01 00:50:52 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/storage/ipc/sinval.c,v 1.66 2004/07/01 03:13:05 tgl Exp $
*
*-------------------------------------------------------------------------
*/
if (result)
break;
-
}
}
* We don't care if it aborted, because if it did, we won't find
* it in the array.
*/
-
for (i = 0; i < nxids; i++)
+ {
if (TransactionIdEquals(xids[i], xid))
- return true;
+ {
+ result = true;
+ break;
+ }
+ }
}
+ pfree(xids);
+
return result;
}