aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_backup_tar.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-01-07 04:53:35 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-01-07 04:53:35 +0000
commit901be0fad4034c9cf8a3588fd6cf2ece82e4b8ce (patch)
tree9d25bde7c4533c4be739a78ef14249b06b74e7f7 /src/bin/pg_dump/pg_backup_tar.c
parentc282b36dd2a19a4bc05cc81cb4996081a1731d2e (diff)
downloadpostgresql-901be0fad4034c9cf8a3588fd6cf2ece82e4b8ce.tar.gz
postgresql-901be0fad4034c9cf8a3588fd6cf2ece82e4b8ce.zip
Remove all the special-case code for INT64_IS_BUSTED, per decision that
we're not going to support that anymore. I did keep the 64-bit-CRC-with-32-bit-arithmetic code, since it has a performance excuse to live. It's a bit moot since that's all ifdef'd out, of course.
Diffstat (limited to 'src/bin/pg_dump/pg_backup_tar.c')
-rw-r--r--src/bin/pg_dump/pg_backup_tar.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c
index 83310488778..2389c8bc491 100644
--- a/src/bin/pg_dump/pg_backup_tar.c
+++ b/src/bin/pg_dump/pg_backup_tar.c
@@ -16,7 +16,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.66 2009/07/21 21:46:10 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.67 2010/01/07 04:53:35 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -75,13 +75,9 @@ typedef struct
/*
* Maximum file size for a tar member: The limit inherent in the
* format is 2^33-1 bytes (nearly 8 GB). But we don't want to exceed
- * what we can represent by an pgoff_t.
+ * what we can represent in pgoff_t.
*/
-#ifdef INT64_IS_BUSTED
-#define MAX_TAR_MEMBER_FILELEN INT_MAX
-#else
#define MAX_TAR_MEMBER_FILELEN (((int64) 1 << Min(33, sizeof(pgoff_t)*8 - 1)) - 1)
-#endif
typedef struct
{