 

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org 
> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Tom Lane
> Sent: 03 October 2004 20:39
> To: pgsql-hackers@postgresql.org
> Subject: [HACKERS] Checking for overflow of integer arithmetic
> 
> 2. For the int2 and int8 operators, should we stick to a 
> one-size-fits-all message "integer out of range", or be more 
> specific: "smallint out of range" and "bigint out of range"?  
> The existing messages are not completely consistent about 
> this.  I'm inclined to go with mentioning the specific type 
> but I'm not dead set on it.

I vote for being more specific. A little extra info can sometimes ease
debugging problems no matter how trivial it seems.

Regards, Dave.

Sun, 3 Oct 2004 20:47:06 +0100
"Dave Page" <dpage@vale-housing.co.uk>
Re: Checking for overflow of integer arithmetic