Re: pgsql: Use TypeName to represent type names in certain commands

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: Use TypeName to represent type names in certain commands
Date: 2014-12-30 17:04:06
Message-ID: 54A2DB06.90502@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2014-12-30 17:21:56 Re: pgsql: Use TypeName to represent type names in certain commands
Previous Message Alvaro Herrera 2014-12-30 16:58:01 pgsql: Use TypeName to represent type names in certain commands