Re:Designing state machines
by felixge on Monday June 26, 2017 @10:39AM
(#14637132)
You can use user defined aggregates in postgres to model state machines. I'm using this technique quite successfully and have been meaning to write a blog post about it.
[ Parent
| on HN ]
Re:Designing state machines
by sandGorgon on Wednesday June 28, 2017 @05:46AM
(#14652844)
could you talk a bit more about this ?
i was looking at https://sqlsunday.com/2014/05/25/directed-acyclic-graphs-vs-... https://www.qcode.co.uk/post/73 to learn how others have done it