Re: ERROR: plperl functions cannot take type anyarray

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Evans, Roy" <revans(at)emea(dot)att(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: ERROR: plperl functions cannot take type anyarray
Date: 2005-07-12 15:28:58
Message-ID: 19631.1121182138@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Evans, Roy" <revans(at)emea(dot)att(dot)com> writes:
> I am looking for a function to do an excel like percentile function , an sql percentile_cont or percentile_disc or something. If I have choice, I'd like to write the function in perl.

> Given the error message , can I do what I want in perl ?

Do you really need the aggregate to operate on any data type? Seems
like in practice, building it for float8 would be sufficient.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Adam O'Toole 2005-07-12 15:47:57 INSERT INTO from a SELECT query
Previous Message Bruno Wolff III 2005-07-12 15:24:20 Re: Table Permission?