I would like to be able to use aggregate functions (e.g. sum(..))
in a pl/pgsql functions through SELECT INTO and FOR record IN SELECT ...
lines. The obvious (record.sum(..)) doesn't work when attempting to
recover the values. Is there a simple way of getting this information?
TIA!
-frank