Re: Index on array element

Поиск
Список
Период
Сортировка
От Randolf Richardson
Тема Re: Index on array element
Дата
Msg-id Xns943E637F068A7rr8xca@200.46.204.72
обсуждение исходный текст
Ответ на Index on array element  (Steve Crawford <scrawford@pinpointresearch.com>)
Ответы Re: Index on array element  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
>> How can I create an index on an array element?
>
> You need 7.4 and an extra layer of parentheses:
>
>      create index foodex on foo ((textarray[3]));

        Sorry, but this isn't obvious to me as arrays in a database are a new
concept for me -- why are the extra layer of parenthesis needed?

--
Randolf Richardson - rr@8x.ca
Vancouver, British Columbia, Canada

Please do not eMail me directly when responding
to my postings in the newsgroups.

В списке pgsql-general по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: [OT... But couldn't resist!] Master/Slave
Следующее
От: Randolf Richardson
Дата:
Сообщение: Re: Large objects [BLOB] again - general howto