Re: small test case for abbrev(cidr) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: small test case for abbrev(cidr)
Date
Msg-id 720889.1612812581@sss.pgh.pa.us
Whole thread Raw
In response to small test case for abbrev(cidr)  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> 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.

Seems reasonable.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: parse mistake in ecpg connect string
Next
From: Pavel Borisov
Date:
Subject: Re: [PATCH] Improve amcheck to also check UNIQUE constraint in btree index.