Re: small test case for abbrev(cidr)

2021-02-08 Thread Tom Lane
Peter Eisentraut writes: > I noticed that the file src/backend/utils/adt/inet_cidr_ntop.c has no > test coverage at all. The only way to reach this appears to be by > calling abbrev(cidr). It was easy to add a test case for this into the > existing, otherwise pretty complete, cidr tests. See

small test case for abbrev(cidr)

2021-02-08 Thread Peter Eisentraut
I noticed that the file src/backend/utils/adt/inet_cidr_ntop.c has no test coverage at all. The only way to reach this appears to be by calling abbrev(cidr). It was easy to add a test case for this into the existing, otherwise pretty complete, cidr tests. From 4bba4782c81ec6cab3d85e045abc89a85