Median aggregate

December 15, 2020 ยท View on GitHub

CI

The module provides an aggregate function that calculates the median over an input set (typically values from a table).

A typical median query is:

SELECT median(temp) FROM conditions;

Compiling and installing

To compile and install the extension:

> make
> make install

Note, that depending on installation location, installing the extension might require super-user permissions.

Testing

Tests can be run with

> make installcheck