> > Uh, txid_current returns a 64 bit value, whereas xmin only stores the 32 > least significant bits. They would certainly differ after a xid > wraparound. > > -- > Álvaro Herrera http://www.2ndQuadrant.com/ > PostgreSQL Development, 24x7 Support, Training & Services >
Ah yes... That would be a problem. What about using just the lower 32 bits of the txid_current?