Re: [PATCHES] Fix for Win32 division involving INT_MIN

2006-06-12 Thread Bruce Momjian
Patch applied. Backpatch to 8.1.X. --- Bruce Momjian wrote: > Tom Lane wrote: > > Bruce Momjian writes: > > > With no Win32 exception detection code in sight, I propose the following > > > patch to prevent server crashes

Re: [PATCHES] Fix for Win32 division involving INT_MIN

2006-06-08 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian writes: > > With no Win32 exception detection code in sight, I propose the following > > patch to prevent server crashes for unusual INT_MIN integer division. > > The overflow code tries hard to avoid assuming it knows what INT_MIN and > INT_MAX are --- this is ma

Re: [PATCHES] Fix for Win32 division involving INT_MIN

2006-06-08 Thread Tom Lane
Bruce Momjian writes: > With no Win32 exception detection code in sight, I propose the following > patch to prevent server crashes for unusual INT_MIN integer division. The overflow code tries hard to avoid assuming it knows what INT_MIN and INT_MAX are --- this is maybe not so important for int