Index Question - Mailing list pgsql-general

From Bierbryer, Andrew
Subject Index Question
Date
Msg-id F91B92528B23C243893664497C6659A00A2211@exchange.KLS.corp
Whole thread Raw
Responses Re: Index Question
List pgsql-general

I have created a table where a unique row is defined by 5 columns and have created an index on these 5 columns. If I then do a select with a where clause that only consists of 3 of these columns, will I get the speed benefits from the index that I have created, or will I need to create another index with only these 3 columns?

 

Thanks,

 

Andrew

 

 

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Function returning 2 columns evaluated twice when both columns are needed
Next
From: Tom Lane
Date:
Subject: Re: Index Question