Hi, I want to compare the record's transaction id in sql statements or PL/pgSQL stored procedure. Are there any system function or operator can safely(transaction id wraparound safed) compare the transaction id? Thanks! ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend