Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group