pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Péder <dpeder@infoset.cz>
To: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: partial indexes (indices) PostgreSQL 6.3.2 / 6.5.1
Date: Wed, 22 Sep 1999 20:51:00 +0200
Message-ID: <01BF053C.2E0ACE60@Dan> (raw)

I need to use partial indexes

are they implemented in versions 6.3.2 / 6.5.1 ?
if they are, what's the syntax

example:
table:
grp ... name
A ... john
A ... george
B ... susan
B ... mary

how to create partial index to have seperately indexed groups A and B eg grp='B'

===
what it should be good for ?

I have large table wich is usualy beeng looked up by simple groups. So I need to save resources having the groups "pre-selected". And, however, sometimes beeing able to lookup the whole table.

dan




Message-ID: <01BF053C.2E0ACE60@Dan>
Permalink:  ../01BF053C.2E0ACE60@Dan/
Also on:    postgresql.org/message-id/01BF053C.2E0ACE60@Dan

 · 

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-sql@postgresql.org
  Cc: dpeder@infoset.cz
  Subject: Re: partial indexes (indices) PostgreSQL 6.3.2 / 6.5.1
  In-Reply-To: <01BF053C.2E0ACE60@Dan>
  References: <01BF053C.2E0ACE60@Dan>

* 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