Task for writing an aggregate. Bonuses where to embed it into a extension and add testing
Sigiloso
I wrote the aggregate with postgres functionality., embedded it to a extension with DDL's, added an extra function to check new aggregate with the existent aggregates using temporary dummy data.