pgbench-fix-func-1.patch

text/plain

Filename: pgbench-fix-func-1.patch
Type: text/plain
Part: 0
Message: pgbench - remove double declaration of hash functions

Patch

Format: unified
File+
src/bin/pgbench/exprparse.y 0 9
diff --git a/src/bin/pgbench/exprparse.y b/src/bin/pgbench/exprparse.y
index 8447e14d14..66288632d1 100644
--- a/src/bin/pgbench/exprparse.y
+++ b/src/bin/pgbench/exprparse.y
@@ -366,15 +366,6 @@ static const struct
 	{
 		"hash_fnv1a", PGBENCH_NARGS_HASH, PGBENCH_HASH_FNV1A
 	},
-	{
-		"hash", PGBENCH_NARGS_HASH, PGBENCH_HASH_MURMUR2
-	},
-	{
-		"hash_murmur2", PGBENCH_NARGS_HASH, PGBENCH_HASH_MURMUR2
-	},
-	{
-		"hash_fnv1a", PGBENCH_NARGS_HASH, PGBENCH_HASH_FNV1A
-	},
 	/* keep as last array element */
 	{
 		NULL, 0, 0