Re: [GENERAL] Empty arrays with ARRAY[]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Empty arrays with ARRAY[]
Дата
Msg-id 21455.1196178961@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Empty arrays with ARRAY[]  ("Brendan Jurd" <direvus@gmail.com>)
Ответы Re: [GENERAL] Empty arrays with ARRAY[]  ("Brendan Jurd" <direvus@gmail.com>)
Список pgsql-hackers
"Brendan Jurd" <direvus@gmail.com> writes:
> So far I've only considered the '::' cast syntax suggested in the
> original proposal, e.g.:

> ARRAY[]::text[]

> I wonder whether we are also interested in catching CAST(), e.g.:

> CAST(ARRAY[] AS text[])

I think you'll find that it's just about impossible to not handle both,
because they look the same after the grammar gets done.
        regards, tom lane


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

Предыдущее
От: sulfinu@gmail.com
Дата:
Сообщение: Re: String encoding during connection "handshake"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PG 8.3beta3 Segmentation Fault during Database Restore