Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9CEI-0003ux-Nz for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Feb 2021 19:29:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l9CEH-00027B-LT for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Feb 2021 19:29:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9CEH-000274-FG for pgsql-hackers@lists.postgresql.org; Mon, 08 Feb 2021 19:29:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9CEB-0005uY-7V for pgsql-hackers@postgresql.org; Mon, 08 Feb 2021 19:29:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 118JTfi9720890; Mon, 8 Feb 2021 14:29:41 -0500 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers Subject: Re: small test case for abbrev(cidr) In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Mon, 08 Feb 2021 19:40:50 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <720888.1612812581.1@sss.pgh.pa.us> Date: Mon, 08 Feb 2021 14:29:41 -0500 Message-ID: <720889.1612812581@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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. Seems reasonable. regards, tom lane