[BUGS] Embedded SQL library bug

2004-05-21 Thread David Flater
POSTGRESQL BUG REPORT TEMPLATE Your name : David Flater Your email address : [EMAIL PROT

Re: [BUGS] int4, int8, real ....division...

2004-05-21 Thread Tom Lane
Neil Conway <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> This isn't a division problem --- the difficulty is there's no check for >> overflow in int4 multiplication. (Nor in any of the other integer >> arithmetic operations, for that matter.) > Or am I misreading the spec? Spec compliance is

Re: [BUGS] int4, int8, real ....division...

2004-05-21 Thread Neil Conway
Tom Lane wrote: This isn't a division problem --- the difficulty is there's no check for overflow in int4 multiplication. (Nor in any of the other integer arithmetic operations, for that matter.) It seems to me that SQL2003, Section 6.26 (, "General Rules", item 5) requires that we check for over