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 aliases. Author: Aleksander Alekseev Reviewed-by: Jacob Champion, Keisuke Kuroda, Tom Lane Discussion: https://postgr.es/m/CAJ7c6TOyZ9bGNrDK6Z3Q0gr9ow8ZpOm+=+01mpe0dsdh4c+...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/4f071349c0c28543fa8b84a5ce0b2f619c089ace Modified Files -------------- src/test/regress/expected/inet.out | 163 +++++++++++++++++++++++++++---------- src/test/regress/sql/inet.sql | 21 +++-- 2 files changed, 135 insertions(+), 49 deletions(-)