pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: Use TypeName to represent type names in certain commands
Date: Tue, 30 Dec 2014 19:04:06 +0200
Message-ID: <54A2DB06.90502@vmware.com> (raw)
In-Reply-To: <E1Y607N-0007x9-BN@gemulon.postgresql.org>
References: <E1Y607N-0007x9-BN@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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



view thread (4+ messages)  latest in thread

Message-ID: <54A2DB06.90502@vmware.com>
Permalink:  ../54A2DB06.90502@vmware.com/
Also on:    postgresql.org/message-id/54A2DB06.90502@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: hlinnakangas@vmware.com, alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Use TypeName to represent type names in certain commands
  In-Reply-To: <54A2DB06.90502@vmware.com>
  References: <E1Y607N-0007x9-BN@gemulon.postgresql.org> <54A2DB06.90502@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox