Re: pgsql: Use TypeName to represent type names in certain commands - Mailing list pgsql-committers

From Heikki Linnakangas
Subject Re: pgsql: Use TypeName to represent type names in certain commands
Date
Msg-id 54A2DB06.90502@vmware.com
Whole thread Raw
In response to pgsql: Use TypeName to represent type names in certain commands  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: pgsql: Use TypeName to represent type names in certain commands  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List 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



pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Use TypeName to represent type names in certain commands
Next
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Use TypeName to represent type names in certain commands