How to create virtual indexes on postgres - Mailing list pgsql-hackers

From Sreerama Manoj
Subject How to create virtual indexes on postgres
Date
Msg-id CA+go1QFfj1LxvXDp+-ET7w__mu=hnYFgrH5H5005XKYs4iWSOw@mail.gmail.com
Whole thread
Responses Re: How to create virtual indexes on postgres
List pgsql-hackers
Hi,
     I use Postgres 9.4 database.Now,I am optimizing the queries by using the results of "explain" and "explain analyze",Sometimes I am creating Indexes to optimize them. But, I was not successful sometimes as even I create Index to optimize them, the planner is not using them .

So my question was can we know whether the planner  will use the index before actually creating a real Index..or can we create "virtual" or "Hypothetical" Index those can only be known to the planner and not the user or Is there any alternative to do it..If present,share with me.

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: Partitioning WIP patch
Next
From: Ashutosh Bapat
Date:
Subject: Re: Transactions involving multiple postgres foreign servers