Re: bigint overflow 'feature'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Allan Engelhardt <allane(at)cybaea(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: bigint overflow 'feature'
Date: 2001-09-21 23:13:49
Message-ID: 11783.1001114029@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Use NUMERIC if you're concerned about overflow. The integer datatypes
are just C integers, and C doesn't provide any reasonable way to detect
overflow in integer arithmetic...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message R Talbot 2001-09-21 23:15:34 End of GreatBridge !!
Previous Message Allan Engelhardt 2001-09-21 21:47:58 bigint overflow 'feature'