<br /><br />> Date: Fri, 24 Sep 2010 08:01:35 -0400<br />> Subject: Re: [HACKERS] Name column<br />> From:
robertmhaas@gmail.com<br/>> To: heikki.linnakangas@enterprisedb.com<br />> CC: arhipov@dc.baikal.ru;
pgsql-hackers@postgresql.org<br/>> <br />> On Fri, Sep 24, 2010 at 6:35 AM, Heikki Linnakangas<br />>
<heikki.linnakangas@enterprisedb.com>wrote:<br />> > For historical reasons PostgreSQL supports calling a
functionwith a single<br />> > argument like "column.function", in addition to "function(column)". There is<br
/>>> a function "name(text)" that casts the input to the 'name' datatype, so your<br />> > example casts
therow to text and from text to name.<br />> <br />> I'm starting to wonder if we should think about deprecating
this<br/>> behavior. It is awfully confusing and unintuitive.<br />> <br /><br />I agree, it is very unintuitive.
<br/>+1 for deprecating this behavior.<br />