Re: Can I search for an array in csf?

From: Richard Huxton <dev(at)archonet(dot)com>
To: vernonw(at)gatewaytech(dot)com, pgsql-sql(at)postgresql(dot)org
Subject: Re: Can I search for an array in csf?
Date: 2002-10-21 10:13:57
Message-ID: 200210211013.58430.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Friday 18 Oct 2002 1:58 pm, Vernon Wu wrote:
> One field of a table stores an array of characters in a string fromat as
> "a,b,c,d". Is anyway to apply a select statement without using stored
> procedure?
>
> Thanks for your input.

Not really, and I can't think any way of accessing an index on this either.
Are you sure you wanted the characters stored this way? Even if the overhead
of a separate table isn't woth it, you might want to look into arrays and the
intarray stuff in contrib/

--
Richard Huxton

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tiago Moitinho 2002-10-21 10:54:53 Select table from other database
Previous Message Terry Yapt 2002-10-21 08:26:48 Re: Restricting a VIEW.