diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-16 21:50:13 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-16 21:50:13 +0000 |
commit | 5a4a7d624a51d4a9747bbb3df126802f9df44f4a (patch) | |
tree | 9b2e00e87544f5cf06730e4a0964b8319af1607f /src/backend/commands/variable.c | |
parent | 7b855679623eb4096390b827aaa24ba3b1d2bd27 (diff) | |
download | postgresql-5a4a7d624a51d4a9747bbb3df126802f9df44f4a.tar.gz postgresql-5a4a7d624a51d4a9747bbb3df126802f9df44f4a.zip |
GIN index build's allocatedMemory counter needs to be long, not uint32.
Else, in a 64-bit machine with maintenance_work_mem set to above 4Gb,
the counter overflows and we never recognize having reached the
maintenance_work_mem limit. I believe this explains out-of-memory
failure recently reported by Sean Davis.
This is a bug, so backpatch to 8.2.
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions