datatype for indexable char field larger than 256

From: "Thomas T(dot) Thai" <tom(at)minnesota(dot)com>
To: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: datatype for indexable char field larger than 256
Date: 2001-07-08 02:51:58
Message-ID: Pine.NEB.4.21.0107072146380.4260-100000@ns01.minnesota.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Taral 2001-07-08 03:13:04 Toast question
Previous Message Peter C. A. =?ISO-8859-1?Q?B=E4r?= 2001-07-08 00:06:14 Re: A quick SUSE question...