aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2019-03-05 15:02:56 +0100
committerPeter Eisentraut <peter@eisentraut.org>2019-03-05 15:02:56 +0100
commit9b1384dd6a03c6ae1db1c2f5a8e87875f2f299ca (patch)
treef1f3c424425ba797a1ac71af7c9e41034e30d67c /src
parentfe280694d0d49e3d5f2666042b5e9ff0c8305341 (diff)
downloadpostgresql-9b1384dd6a03c6ae1db1c2f5a8e87875f2f299ca.tar.gz
postgresql-9b1384dd6a03c6ae1db1c2f5a8e87875f2f299ca.zip
Remove duplicate macro
The original commit appears to have accidentally introduced a duplicate definition. Keep only one of them.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pgbench/pgbench.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c
index 19532cfb545..5df54a8e57e 100644
--- a/src/bin/pgbench/pgbench.c
+++ b/src/bin/pgbench/pgbench.c
@@ -3729,16 +3729,6 @@ static void
initCreateTables(PGconn *con)
{
/*
- * The scale factor at/beyond which 32-bit integers are insufficient for
- * storing TPC-B account IDs.
- *
- * Although the actual threshold is 21474, we use 20000 because it is
- * easier to document and remember, and isn't that far away from the real
- * threshold.
- */
-#define SCALE_32BIT_THRESHOLD 20000
-
- /*
* Note: TPC-B requires at least 100 bytes per row, and the "filler"
* fields in these table declarations were intended to comply with that.
* The pgbench_accounts table complies with that because the "filler"