Re: [HACKERS] tables >2GB - Mailing list pgsql-hackers

From Tom Ivar Helbekkmo
Subject Re: [HACKERS] tables >2GB
Date
Msg-id 86lnu5iae6.fsf@barsoom.Hamartun.Priv.NO
Whole thread Raw
In response to Re: [HACKERS] tables >2GB  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] tables >2GB  (Bruce Momjian <maillist@candle.pha.pa.us>)
List 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"

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] DEC Alpha and HAVE_INT_TIMEZONE
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] psql nested queries with 2000+ records