Re: Open issues for collations

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Open issues for collations
Дата
Msg-id 1303156367.14718.8.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: Open issues for collations  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 2011-04-18 at 10:41 -0400, Tom Lane wrote:
> However, I've come across a new issue that maybe requires discussion:
> what collation should be associated with a multi-row VALUES in FROM?
> For instance, in
> 
>         SELECT ... FROM
>           (VALUES (1, 'foo'), (2, 'bar' COLLATE "C")) v(a,b),
>           ...
> 
> what collation should be imputed to references to v.b?
> 
> The way the code currently works is that the first row of the VALUES
> list is inspected to determine what collation to report

Hmm, I do see this on my list of things to address, so yes, it should be
fixed.  I likely got stuck because it's pretty complicated.



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Typed table DDL loose ends
Следующее
От: Peter Eisentraut
Дата:
Сообщение: ORDER BY 1 COLLATE