Re: Add numeric_trim(numeric) - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Add numeric_trim(numeric)
Date
Msg-id CA+Tgmoahv0xsgVgenSqewcgKOZGtbw6DLEqvMBxvh8uNJ1ANaA@mail.gmail.com
Whole thread Raw
In response to Re: Add numeric_trim(numeric)  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Responses Re: Add numeric_trim(numeric)  (Dean Rasheed <dean.a.rasheed@gmail.com>)
List pgsql-hackers
On Wed, Jan 6, 2016 at 10:21 AM, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
> It seems like a useful function to have, but perhaps it should just be
> called trim() rather than numeric_trim(), for consistency with the
> names of the other numeric functions, which don't start with
> "numeric_".

That wouldn't work in this case, because we have hard-coded parser
productions for TRIM().

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Relation extension scalability
Next
From: Andres Freund
Date:
Subject: Re: checkpointer continuous flushing