Re: 64-bit API for large objects

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: David Fetter <david(at)fetter(dot)org>, Jeremy Drake <pgsql(at)jdrake(dot)com>, pgsql-hackers(at)postgresql(dot)org, Mark Dilger <pgsql(at)markdilger(dot)com>
Subject: Re: 64-bit API for large objects
Date: 2005-09-26 21:31:12
Message-ID: 4440.1127770272@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Jim C. Nasby" <jnasby(at)pervasive(dot)com> writes:
> So what happens if you attempt to put a value greater than 2^32 into a
> bigint on a non-int64 platform?

You get the same error as if you tried to store a value greater than 2^64.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-09-26 21:57:08 State of support for back PG branches
Previous Message Jonah H. Harris 2005-09-26 21:27:30 Re: [PERFORM] A Better External Sort?