pgsql: Improve test coverage of network address functions

2025-01-28 Thread Michael Paquier
Improve test coverage of network address functions The following functions were not covered by any tests: - abbrev(inet) - set_masklen(cidr) - set_masklen(inet) - netmask(inet) - hostmask(inet) While on it, this improves the output of some of the existing queries in the test inet to use better al

pgsql: Revert "Speed up tail processing when hashing aligned C strings,

2025-01-28 Thread John Naylor
Revert "Speed up tail processing when hashing aligned C strings, take two" This reverts commit a365d9e2e8c1ead27203a4431211098292777d3b. Older versions of Valgrind raise an error, so go back to the bytewise loop for the final word in the input. Reported-by: Anton A. Melnikov Discussion: https:

pgsql: Revert "Speed up tail processing when hashing aligned C strings,

2025-01-28 Thread John Naylor
Revert "Speed up tail processing when hashing aligned C strings, take two" This reverts commit a365d9e2e8c1ead27203a4431211098292777d3b. Older versions of Valgrind raise an error, so go back to the bytewise loop for the final word in the input. Reported-by: Anton A. Melnikov Discussion: https:

pgsql: Fix grammatical typos around possessive "its"

2025-01-28 Thread John Naylor
Fix grammatical typos around possessive "its" Some places spelled it "it's", which is short for "it is". In passing, fix a couple other nearby grammatical errors. Author: Jacob Brazeal Discussion: https://postgr.es/m/CA+COZaAO8g1KJCV0T48=ckjmjannftglwoatz+2ach40c2n...@mail.gmail.com Branch ---