datatype for indexable char field larger than 256

Поиск
Список
Период
Сортировка
От Thomas T. Thai
Тема datatype for indexable char field larger than 256
Дата
Msg-id Pine.NEB.4.21.0107072146380.4260-100000@ns01.minnesota.com
обсуждение исходный текст
Ответы Re: datatype for indexable char field larger than 256  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
i'm parsing DMOZ data files, and i need to store the path and later
reference it to get the associated CatID to store for the parent of the
child paths. however, some of the paths are larger than 500 chars. would a
WHERE clause like this:

   ... WHERE path='top/this/really/long/500/char/path'

work if i define the field 'path' as type text? also, type text field
aren't indexable or are they?

suggestions are welcomed. thanks in advance.


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

Предыдущее
От: "Peter C. A. Bär"
Дата:
Сообщение: Re: A quick SUSE question...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Why is it not using the other processor?