diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-14 15:47:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-14 15:47:30 +0000 |
commit | 286fa734712f3d034ce402d712ba7291c1f64bac (patch) | |
tree | 019d81d7a3b7ee4e5605b79d2fccc16f2ce0c683 /src/interfaces/ecpg/test/expected/sql-array.c | |
parent | dd56a9d6ededebc25e8f57f9d3a58e1b94f42a81 (diff) | |
download | postgresql-286fa734712f3d034ce402d712ba7291c1f64bac.tar.gz postgresql-286fa734712f3d034ce402d712ba7291c1f64bac.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/interfaces/ecpg/test/expected/sql-array.c')
0 files changed, 0 insertions, 0 deletions