[PATCHES] Align large shared memory allocations

2003-09-20 Thread Manfred Spraul
Attached is a patch that aligns large shared memory allocations beyond MAXIMUM_ALIGNOF. The reason for this is that Intel's cpus have a fast path for bulk memory copies that only works with aligned addresses. It's possible that other cpus have similar restrictions. With 7.3.4, it achives a 5% pe

Re: [PATCHES] Align large shared memory allocations

2003-09-20 Thread Tom Lane
Manfred Spraul <[EMAIL PROTECTED]> writes: > Attached is a patch that aligns large shared memory allocations beyond > MAXIMUM_ALIGNOF. The reason for this is that Intel's cpus have a fast > path for bulk memory copies that only works with aligned addresses. This patch is missing a demonstration

[PATCHES] contrib mode - pgenv

2003-09-20 Thread Mike Mascari
Out of sheer shame for a stupid remark, I have implemented a pgenv contrib module which provides three functions: set_session_variable (name, value) get_session_variable (name) reset_session_variables() I hope my penance is acceptable... Mike Mascari [EMAIL PROTECTED] pgenv.tgz Description: a