diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-12 20:33:09 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-12 20:33:09 -0400 |
commit | 9d229f399e87d2ae7132c2e8feef317ce1479728 (patch) | |
tree | f808e533fa6b89202733e2b8666361dc5482ca97 /src/backend/access/gist/gistproc.c | |
parent | a9d9acbf219b9e96585779cd5f99d674d4ccba74 (diff) | |
download | postgresql-9d229f399e87d2ae7132c2e8feef317ce1479728.tar.gz postgresql-9d229f399e87d2ae7132c2e8feef317ce1479728.zip |
Provide moving-aggregate support for a bunch of numerical aggregates.
First installment of the promised moving-aggregate support in built-in
aggregates: count(), sum(), avg(), stddev() and variance() for
assorted datatypes, though not for float4/float8.
In passing, remove a 2001-vintage kluge in interval_accum(): interval
array elements have been properly aligned since around 2003, but
nobody remembered to take out this workaround. Also, fix a thinko
in the opr_sanity tests for moving-aggregate catalog entries.
David Rowley and Florian Pflug, reviewed by Dean Rasheed
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions