There was an interesting article by the jOOQ team on how to fill gaps in data using SQL: Using IGNORE NULLS With SQL Window Functions to Fill Gaps This reminded me of a project I had in a private repository for two years, which deals with how to do a linear interpolation of values with PostgreSQL. It would be a waste to silo it in a private repository, so I decided to share it. The whole project c

