Re: Name column

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Name column
Дата
Msg-id AANLkTim9nssn1MvDH0znHEDebnroS9yXRQYsZSqnDaBk@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Name column  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Name column  (André Fernandes<andre.de.camargo.fernandes@hotmail.com>)
Список pgsql-hackers
On Fri, Sep 24, 2010 at 6:35 AM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> For historical reasons PostgreSQL supports calling a function with a single
> argument like "column.function", in addition to "function(column)". There is
> a function "name(text)" that casts the input to the 'name' datatype, so your
> example casts the row to text and from text to name.

I'm starting to wonder if we should think about deprecating this
behavior.  It is awfully confusing and unintuitive.

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pg_comments
Следующее
От: Robert Haas
Дата:
Сообщение: Re: patch: SQL/MED(FDW) DDL