Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

timestamp.h

  • Tom Lane's avatar
    9d229f39
    Provide moving-aggregate support for a bunch of numerical aggregates. · 9d229f39
    Tom Lane authored
    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
    9d229f39
    History
    Provide moving-aggregate support for a bunch of numerical aggregates.
    Tom Lane authored
    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