About index - "a query or data manipulation command can use at most one index per table"

From: Ying Lu <ying_lu(at)cs(dot)concordia(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: About index - "a query or data manipulation command can use at most one index per table"
Date: 2005-04-26 17:58:09
Message-ID: 426E8131.8020005@cs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello List,

A question about index. It mentioned in postgresql 8.0 doc "a query or
data manipulation command can use *at most one index* *per table*". An
example query is:

select * from A left join B using (id) where A.type='apple' and
A.isExport=true;

"id" is the primary key for both table A & B. If index (type, isExport)
has been created for table A. In the above query, will this index works?

Thanks a lot,
Emi

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2005-04-26 18:05:49 Re: out of memory
Previous Message Ned Lilly 2005-04-26 16:41:25 Re: OpenRPT