pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ryan Kelly <rpkelly22@gmail.com>
To: alokrawat0212@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6702: SELECT Query on INDEX
Date: Fri, 22 Jun 2012 11:02:11 -0400
Message-ID: <20120622150211.GA16675@llserver.lakeliving.com> (raw)
In-Reply-To: <E1ShsXO-0000qi-Le@wrigleys.postgresql.org>
References: <E1ShsXO-0000qi-Le@wrigleys.postgresql.org>

On Fri, Jun 22, 2012 at 01:19:50AM +0000, alokrawat0212@gmail.com wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      6702
> Logged by:          Alok Rawat
> Email address:      alokrawat0212@gmail.com
> PostgreSQL version: 9.1.0
> Operating system:   WIN 7
> Description:        
> 
> Hello all,
> 
> I created a Index in postgres.Now i want to fire select query in this Index
> and check data.
This is not a bug. For general questions regarding PostgreSQL, please
use the pgsql-general mailing list.

> Please tell me how to perform this???
PostgreSQL will automatically use your index when querying the table
that has that index, when appropriate. One does not query an index
directly. You might want to understand how to use EXPLAIN to see if your
index is being utilized. See the documentation at:
http://www.postgresql.org/docs/9.1/static/indexes.html
http://www.postgresql.org/docs/9.1/static/using-explain.html

> 
> Thanks in advance,
> 
> 
> -- 
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs

-Ryan Kelly



view thread (3+ messages)  latest in thread

Message-ID: <20120622150211.GA16675@llserver.lakeliving.com>
Permalink:  ../20120622150211.GA16675@llserver.lakeliving.com/
Also on:    postgresql.org/message-id/20120622150211.GA16675@llserver.lakeliving.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: rpkelly22@gmail.com, alokrawat0212@gmail.com
  Subject: Re: BUG #6702: SELECT Query on INDEX
  In-Reply-To: <20120622150211.GA16675@llserver.lakeliving.com>
  References: <E1ShsXO-0000qi-Le@wrigleys.postgresql.org> <20120622150211.GA16675@llserver.lakeliving.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox