marc@xxxxxxxxxxxxxxxxxxx writes: > * If I could figure a way to pass a variable number of arguments to a > plperl function, or an array reference, I could use something like this > function: Doesn't plperl already contain a feature to convert a Postgres array into a Perl array? It may be documented poorly or not at all, but I definitely see code in there for going the other direction, and one would think that whoever coded it would have catered for both conversions. regards, tom lane