Could someone help me find the equivalent of Timestamp/Rowversion (SQL Server) with PostgreSQL?
I'm using NHibernate on Mono (UNIX).
I think that Timestamp (PostgreSQL) is the equivalent of Datetime (SQL Server) - it's not what I'm looking for.
Edit 1: For those who don't know what is a Timestamp/Rowversion in SQL Server: http://msdn.microsoft.com/en-us/library/ms182776.aspx (It is mostly used for optimistic concurrency)
See the system columns section in PostgreSQL documentation. In particular, xmin
might be what you're looking for.
But be careful using any system columns. They are by definition implementation specific and the details of some of them might change with future versions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With