Re: select from an index

Поиск
Список
Период
Сортировка
От Steve Atkins
Тема Re: select from an index
Дата
Msg-id E0F82ED2-891E-4073-8062-B3E1D0365173@blighty.com
обсуждение исходный текст
Ответ на select from an index  ("Pau Marc Munoz Torres" <paumarc.munoz@bioinf.uab.cat>)
Список pgsql-general
On Nov 27, 2007, at 3:15 AM, Pau Marc Munoz Torres wrote:

> Hi
>
>  Recently i created an index in a table using a function (not a
> column) as following
>
> create index H2IAb on precalc (idr(p1,p4,p6,p7,p9,'H-2*IAb'));,
>
>
> now, i would like to perform a query using this index, something like
>
>
> Select * from precalc where h2iab>2
>
> but obviously h2iab  is not a column...
>
> some of you knows what i should do?
>

select * from precalc where idr(p1,p4,p6,p7,p9,'H-2*IAb') > 2

Cheers,
   Steve


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

Предыдущее
От: Sascha Bohnenkamp
Дата:
Сообщение: Re: replication in Postgres
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Why LIMIT and OFFSET are commutative