diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-03-04 19:05:06 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-03-04 19:05:06 +0000 |
commit | 80cadb303ce035a291a1b7441adb59073a9529c0 (patch) | |
tree | f3709e3337c31f2fddd2e411124852cc513ca90a /src/backend/access/gist/gistget.c | |
parent | b3d0442ab3d6ebcf9d97c6e01cae0ba387209f0d (diff) | |
download | postgresql-80cadb303ce035a291a1b7441adb59073a9529c0.tar.gz |
Prevent sorting from requesting a SortTuple array that exceeds MaxAllocSize;
we'll go over to disk-based sort if we reach that limit.
This fixes Stefan Kaltenbrunner's observation that sorting can suffer an
'invalid memory alloc request size' failure when sort_mem is set large
enough. It's unfortunately not so easy to fix in 8.1 ...
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions