diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-14 15:47:13 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-14 15:47:13 +0000 |
commit | 22d9ddbb35f5d316312a2220041ff17744a72330 (patch) | |
tree | 3e1a6c8ad18bd7340b1505184c2aa0b18ca4a021 /src/backend/access/transam/xlogutils.c | |
parent | 41b810fe325663d84188220f5af911972d4e4c6e (diff) | |
download | postgresql-22d9ddbb35f5d316312a2220041ff17744a72330.tar.gz postgresql-22d9ddbb35f5d316312a2220041ff17744a72330.zip |
Fix planner to make a reasonable assumption about the amount of memory space
used by array_agg(), string_agg(), and similar aggregate functions that use
"internal" as their transition datatype. The previous coding thought this
took *no* extra space, since "internal" is pass-by-value; but actually these
aggregates typically consume a great deal of space. Per bug #5608 from
Itagaki Takahiro, and fix suggestion from Hitoshi Harada.
Back-patch to 8.4, where array_agg was introduced.
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions