Re: aggregate function for median calculation - Mailing list pgsql-general

From Tom Lane
Subject Re: aggregate function for median calculation
Date
Msg-id 8087.992894412@sss.pgh.pa.us
Whole thread Raw
In response to aggregate function for median calculation  ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>)
List pgsql-general
"Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu> writes:
> But the intermmediate state cannot hold multiple values in an array
> (can it?)

Sure, why not?  Might not scale too well to lots of values, however.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: ERROR: cache lookup for userid 26 failed
Next
From: "Thalis A. Kalfigopoulos"
Date:
Subject: embedded SQL cursos declare fails