Re: [HACKERS] Re: Arrays versus 'type constant' syntax

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas IZ5
Тема Re: [HACKERS] Re: Arrays versus 'type constant' syntax
Дата
Msg-id 219F68D65015D011A8E000006F8590C60339E073@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
> Hmm.  OK, then, we're stuck with a tradeoff that (fortunately) only
> affects arrays.  Is it better to force subscripted column names to be
> fully qualified "table.column[subscripts]" (the current situation),
> or to allow bare column names to be subscripted at the cost of requiring
> casts from string constants to array types to use the long-winded CAST
> notation (or nonstandard :: notation)?
> 
Yes, me thinks so too.

> I would guess that the cast issue comes up *far* less frequently than
> subscripting, so we'd be better off changing the behavior.  But the
> floor is open for discussion.
> 
Yes.
I have this change implemented and tested here, btw, but I won't
checkit in until I see if there are objections...

I would apply it :-)

Andreas


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: [HACKERS] Interesting behaviour !
Следующее
От: "Gene Sokolov"
Дата:
Сообщение: Re: [HACKERS] Updated TODO list