git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b3d0442) | patch
Prevent sorting from requesting a SortTuple array that exceeds MaxAllocSize;
Sat, 4 Mar 2006 19:05:06 +0000 (19:05 +0000)
Sat, 4 Mar 2006 19:05:06 +0000 (19:05 +0000)
commit 80cadb303ce035a291a1b7441adb59073a9529c0
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 ...
src/backend/utils/sort/tuplesort.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /