>My limited reading of off_t stuff now suggests that it would be brave to >assume it is even a simple 64 bit number (or even 3 32 bit numbers). One >alternative, which I am not terribly fond of, is to have pg_dump write >multiple files - when we get to 1 or 2GB, we just open another file, and >record our file positions as a (file number, file position) pair. Low tech, >but at least we know it would work. > >Unless anyone knows of a documented way to get 64 bit uint/int file >offsets, I don't see we have mush choice.
How common is fgetpos64? Linux supports it, but I don't know about other systems. http://hpc.uky.edu/cgi-bin/man.cgi?section=all&topic=fgetpos64 Regards, Mario Weilguni ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])