Re: [HACKERS] tables >2GB
Tom Ivar Helbekkmo <tih@hamartun.priv.no>
From: Tom Ivar Helbekkmo <tih@Hamartun.Priv.NO>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: darrenk@insightdist.com (Darren King), pgsql-hackers@postgreSQL.org
Date: 1998-03-20T16:40:01Z
Lists: pgsql-hackers
* Bruce Momjian | | Well, BSD/OS goes over 2gig, but the postgreSQL code uses lseek, which | returns long, so even though I can handle larger files, the lseek() | can't because long is 32-bits. Are you sure? In NetBSD, lseek() is declared to return an off_t, which again is defined to be a 64bit quantity. I would assume that BSD/OS did it the same way -- in fact, I'd be surprised if not. -tih -- Popularity is the hallmark of mediocrity. --Niles Crane, "Frasier"