Mathieu Arnold <mat(at)mat(dot)cc> writes:
> I don't know how to use a 2 argument aggregate (I don't even know if it's
> possible).
We don't have any support for multi-argument aggregates. I don't think
it's impossible to do, but it would take some hacking.
regards, tom lane