git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fe28069)
Remove duplicate macro
Tue, 5 Mar 2019 14:02:56 +0000 (15:02 +0100)
Tue, 5 Mar 2019 14:02:56 +0000 (15:02 +0100)
The original commit appears to have accidentally introduced a
duplicate definition. Keep only one of them.


diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c
index 19532cfb5454eb52e1d13efc3039449499aa7dd3..5df54a8e57e822a23dc99baa00c58942d227958f 100644 (file)
--- a/src/bin/pgbench/pgbench.c
+++ b/src/bin/pgbench/pgbench.c
@@ -3728,16 +3728,6 @@ initDropTables(PGconn *con)
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.
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /