Re: 16/32/48/64 bytes integers

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Daniel Oliveira <danielmarquesoliveira(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 16/32/48/64 bytes integers
Date: 2010-08-11 18:26:58
Message-ID: 4C62EB72.8020905@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/08/10 21:19, Daniel Oliveira wrote:
> I wishing to create real big numbers, but I'm facing some difficulties.
>
> Is possible to setup an integer type of more than 8 bytes (i.e. 16/32/48/64
> bytes)?

No. Not unless you write your own datatype.

Use numeric, it scales up to ridiculously large numbers.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2010-08-11 18:35:27 Re: string_to_array with an empty input string
Previous Message Daniel Oliveira 2010-08-11 18:19:35 16/32/48/64 bytes integers