Arrays and LIKE

From: David <david(at)vanlaatum(dot)id(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: Arrays and LIKE
Date: 2009-08-08 07:34:29
Message-ID: 20090808073429.GD25850@daboyz.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Done a bit of hunting and can't seem to find an answer as to if this sort of thing is possible:

SELECT * FROM mail WHERE recipients ILIKE 'david%';

Where recipients is a VARCHAR(128)[]

The above doesn't work but thats the sort of thing I want to do...
If this is possible and can use an index as well that would be wonderful...

--

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kretschmer 2009-08-08 09:46:17 Re: Arrays and LIKE
Previous Message Bob Gobeille 2009-08-08 04:49:44 Re: smart or dumb partition?