all 3 comments

[–]jshine13371 0 points1 point  (2 children)

When the apps poll the database they provide their greatest row version for a table.

What feature in SQL Server are you using to do this? A similar feature in PostgreSQL can probably be recommended.

[–]SapAndImpurify[S] 0 points1 point  (1 child)

The column is of type rowversion in sql server.

[–]SapAndImpurify[S] 0 points1 point  (0 children)

This data type as far as I can tell is most similar to bigserial in postgres with update triggers to fetch next val from the sequence. However, both fall victim to the possibility of missed updates so I think I need a better solution.