| From: | Alexander Staubo <alex(at)purefiction(dot)net> |
|---|---|
| To: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
| Cc: | PgSQL General <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Using GIN indexes on 8.2 |
| Date: | 2006-11-10 15:58:03 |
| Message-ID: | 1398D9E0-A964-4F90-B7C8-1024C724401B@purefiction.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Nov 10, 2006, at 16:16 , Teodor Sigaev wrote:
> Alexander Staubo wrote:
>> Two questions about GIN on 8.2. There's not much documentation
>> about GIN, but this should be possible:
>> create table foo (values text[]);
>> create index foo_values_index on foo using gin (text);
>> However, this then fails saying the operator "@" does not exist:
>> select * from foo where values @ '{hello, world}'
>
> Use @>, <@ operations instead of @ and ~
> Look for discussions in -hackers for reasons of changing names
Ah, many thanks. How about updating those web pages? :)
> Pls, why don't you use tsearch2 with GIN?
Perhaps -- is there any documentation on this?
Alexander.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alex Turner | 2006-11-10 16:02:33 | Re: Problem with pg_dump |
| Previous Message | Teodor Sigaev | 2006-11-10 15:16:35 | Re: Using GIN indexes on 8.2 |