datatype for indexable char field larger than 256 - Mailing list pgsql-general

From Thomas T. Thai
Subject datatype for indexable char field larger than 256
Date
Msg-id Pine.NEB.4.21.0107072146380.4260-100000@ns01.minnesota.com
Whole thread Raw
Responses Re: datatype for indexable char field larger than 256  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: "Peter C. A. Bär"
Date:
Subject: Re: A quick SUSE question...
Next
From: Tom Lane
Date:
Subject: Re: Why is it not using the other processor?