Re: Theory of operation of collation patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Theory of operation of collation patch
Дата
Msg-id 14378.1299771783@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Theory of operation of collation patch  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> Can you give an example of what a column definition would look like if
> you put the COLLATE clause in the <data type> in a way that wouldn't
> be parsed according to your plan?

Column definitions look and act the same.  The point of the change is to
not accept COLLATE in all the places where type names are used that are
*not* column definition lists.  The original patch accepted nonsense like

create cast (text collate "C" as text collate "de_DE") with ...

and we'd have had to do quite a lot of additional hacking to plug those
holes.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Native XML
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgindent (was Re: Header comments in the recently added files)