diff options
author | Magnus Hagander <magnus@hagander.net> | 2007-02-19 15:05:06 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2007-02-19 15:05:06 +0000 |
commit | 74096ed1fd32310f896cdf974460d1d4c9ce60c4 (patch) | |
tree | 13495e16830a0e687fb7e1d6308ae2ed4f9415ea /src/bin/pg_dump/pg_backup_files.c | |
parent | bc959b7bd2194cc0229d9973484347c4099074e9 (diff) |
Fix pg_dump on win32 to properly dump files larger than 2Gb when using
binary dump formats.
Diffstat (limited to 'src/bin/pg_dump/pg_backup_files.c')
-rw-r--r-- | src/bin/pg_dump/pg_backup_files.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_backup_files.c b/src/bin/pg_dump/pg_backup_files.c index 72eedac2e43..f284df4f2b9 100644 --- a/src/bin/pg_dump/pg_backup_files.c +++ b/src/bin/pg_dump/pg_backup_files.c @@ -20,7 +20,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_files.c,v 1.30 2007/02/08 11:10:27 petere Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_files.c,v 1.31 2007/02/19 15:05:06 mha Exp $ * *------------------------------------------------------------------------- */ @@ -51,7 +51,7 @@ static void _EndBlobs(ArchiveHandle *AH, TocEntry *te); typedef struct { int hasSeek; - off_t filePos; + pgoff_t filePos; FILE *blobToc; } lclContext; |