Reputation: 1382
Can anyone recommend for/against the time-travel functions in postgresql's contrib/spi module? Is there an example available anywhere?
Tnx
Upvotes: 11
Views: 5374
Reputation: 66612
See This discussion for an alternative approach to historical reporting.
Upvotes: 3
Reputation: 7942
The argument for time-travel would be being able to look at tables that are updated often at an earlier insertion/deletion point. Say a table of stock prices for a firms investment portfolio.
The argument against would be the extra storage space it eats up.
Here is an Example of use.
Upvotes: 5