Jan Urbański <j.urbanski@students.mimuw.edu.pl> writes:
> Attached is a version that stores the minimal and maximal frequencies in
> the Numbers array, has the aforementioned assertion and more nicely
> ordered functions in ts_selfuncs.c.
Applied with some small corrections.
regards, tom lane