Re: bigint overflow 'feature' - Mailing list pgsql-general

From Tom Lane
Subject Re: bigint overflow 'feature'
Date
Msg-id 11783.1001114029@sss.pgh.pa.us
Whole thread Raw
In response to bigint overflow 'feature'  (Allan Engelhardt <allane@cybaea.com>)
List 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

pgsql-general by date:

Previous
From: Allan Engelhardt
Date:
Subject: bigint overflow 'feature'
Next
From: Mark kirkwood
Date:
Subject: Re: Performance question (stripped down the problem)