Patch: propose to include 3 new functions into intarray and intagg - Mailing list pgsql-hackers

From Dmitry Koterov
Subject Patch: propose to include 3 new functions into intarray and intagg
Date
Msg-id d7df81620808130429l2a75c895g5dd6fe8ae64cc23e@mail.gmail.com
Whole thread Raw
Responses Re: Patch: propose to include 3 new functions into intarray and intagg
Review Report: propose to include 3 new functions into intarray and intagg
List pgsql-hackers
Hello.

Here are these functions with detailed documentation:
http://en.dklab.ru/lib/dklab_postgresql_patch/

intagg.int_array_append_aggregate(int[]): fast merge arrays into one large list
intarray._int_group_count_sort(int[], bool): frequency-based sorting
intarray.bidx(int[], int): binary search in a sorted array

Tested for about a year on a real PostgreSQL cluster (10 machines, Slony replication) under a heavy load (millions of requests).
No crash nor memory problem detected during a year, so I suppose these functions are well-tested.

What do you think about that?

pgsql-hackers by date:

Previous
From: Andrew Chernow
Date:
Subject: Re: C Extension woes
Next
From: Simon Riggs
Date:
Subject: Re: Transaction-controlled robustness for replication