> You can certainly screw yourself up by connecting some incompatible
> internal-accepting functions together this way. So what I propose is
> that we allow STYPE = internal to be specified in CREATE AGGREGATE,
> but only by superusers, who are trusted not to create security holes
> anyway.
>
> Comments?
To me, that sounds like a foot-gun you could take out a tank with.
I would feel a lot better about it if we could invent some way of
distinguishing between different types of "internal", based on what is
actually being pointed to.
...Robert