At 11:20 AM 1/10/2002 -0400, Bruce Momjian wrote:
BSD/OS has 64-bit off_t's so it does support large files.  Is there
something I can test?
Not really since it saves only the first 32 bits of the 64 bit positions it will do no worse than a version that supports 32 bits only. It might even do slightly better. When this is sorted out, we need to verify that:

- large dump files are restorable

- dump files with 32 bit off_t restore properly on systems with 64 biy off_t

- dump files with 64 bit off_t restore properly on systems with 32 bit off_tAS
LONG AS the offsets are less than 32 bits.

- old dump files restore properly.

- new dump files have a new version number so that old pg_restore will not try to restore them.

We probably need to add Read/WriteOffset to pg_backup_archiver.c to read the appropriate sized value from a dump file, in the same way that Read/WriteInt works now.


----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply via email to