Completely remove replicationconnparam when hashing

fix-valgrind-problem-v3
Jelte Fennema 2023-01-31 13:49:12 +01:00
parent b65da5fae8
commit e51e040c14
1 changed files with 0 additions and 2 deletions

View File

@ -1237,8 +1237,6 @@ ConnectionHashHash(const void *key, Size keysize)
hash = hash_combine(hash, hash_uint32(entry->port)); hash = hash_combine(hash, hash_uint32(entry->port));
hash = hash_combine(hash, string_hash(entry->user, NAMEDATALEN)); hash = hash_combine(hash, string_hash(entry->user, NAMEDATALEN));
hash = hash_combine(hash, string_hash(entry->database, NAMEDATALEN)); hash = hash_combine(hash, string_hash(entry->database, NAMEDATALEN));
hash = hash_combine(hash, hash_any((void *) &entry->replicationConnParam,
sizeof(entry->replicationConnParam)));
return hash; return hash;
} }