• Tom Lane's avatar
    Create an official API function for C functions to use to check if they are · d5768dce
    Tom Lane authored
    being called as aggregates, and to get the aggregate transition state memory
    context if needed.  Use it instead of poking directly into AggState and
    WindowAggState in places that shouldn't know so much.
    
    We should have done this in 8.4, probably, but better late than never.
    
    Revised version of a patch by Hitoshi Harada.
    d5768dce
tsearch2.c 13.5 KB