Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y60Dj-0006Ww-IX for pgsql-committers@arkaria.postgresql.org; Tue, 30 Dec 2014 17:04:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y60Dj-0008CF-2m for pgsql-committers@arkaria.postgresql.org; Tue, 30 Dec 2014 17:04:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y60Di-0008C9-HY for pgsql-committers@postgresql.org; Tue, 30 Dec 2014 17:04:34 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y60Dc-0007wq-Jz for pgsql-committers@postgresql.org; Tue, 30 Dec 2014 17:04:31 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 3A660289D1; Tue, 30 Dec 2014 09:04:23 -0800 (PST) Received: from EX13-CAS-008.vmware.com (EX13-CAS-008.vmware.com [10.113.191.58]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 3615FB1CCD; Tue, 30 Dec 2014 09:04:23 -0800 (PST) Received: from EX13-MBX-024.vmware.com (10.113.191.44) by EX13-MBX-005.vmware.com (10.113.191.25) with Microsoft SMTP Server (TLS) id 15.0.913.22; Tue, 30 Dec 2014 09:04:22 -0800 Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.913.22; Tue, 30 Dec 2014 09:04:21 -0800 Message-ID: <54A2DB06.90502@vmware.com> Date: Tue, 30 Dec 2014 19:04:06 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-Version: 1.0 To: Alvaro Herrera , Subject: Re: pgsql: Use TypeName to represent type names in certain commands References: In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 12/30/2014 06:58 PM, Alvaro Herrera wrote: > - errmsg("name list length must be %d", 1))); > + errmsg("name list length must be exactly %d", 1))); Seems silly to pass constant 1 as an argument. (Yeah, it was silly before this commit too.) There is one instance of the old message left in pg_get_object_address. Should change that too for consistency, and to reduce translation work. - Heikki -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers