Re:How our users exploited concurrency and how we fixed it
by Argorak on Friday January 11, 2013 @07:19PM
(#5045843)
With a view and a set of rules, you can do such things in Postgres, without your application noticing:
Re:How our users exploited concurrency and how we fixed it
by SanjayUttam on Friday January 11, 2013 @06:52PM
(#5045741)
I might be trivializing this but you could create a view "ActiveUsers" / "DeletedUsers". Not saying this make the IsDeleted flag perfect, but it would alleviate that particular problem, IMO.
I would almost prefer some way to "ghost" a row where without a specific switch the DBMS will never return it from a query.