Re: Rethinking user-defined-typmod before it's too late

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Rethinking user-defined-typmod before it's too late
Дата
Msg-id 200706152107.25785.peter_e@gmx.net
обсуждение исходный текст
Ответ на Rethinking user-defined-typmod before it's too late  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Am Freitag, 15. Juni 2007 18:14 schrieb Tom Lane:
> The current discussion about the tsearch-in-core patch has convinced me
> that there are plausible use-cases for typmod values that aren't simple
> integers.  For instance it could be sane for a type to want a locale or
> language selection as a typmod, eg tsvector('ru') or tsvector('sv').

That would also be very useful for the XML type with an optional XML schema 
modification.  I guess in a lot of use cases you would have to store the 
mapping in a side table, if the typmod on disk remains an integer.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Rethinking user-defined-typmod before it's too late
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Load Distributed Checkpoints test results