public inbox for [email protected]  
help / color / mirror / Atom feed
From: Michael Fuhr <[email protected]>
To: [email protected]
Subject: Multicolumn index doc out of date?
Date: Mon, 12 Sep 2005 08:26:47 -0600
Message-ID: <[email protected]> (raw)

The 8.1 Release Notes have the following item:

  *  Allow non-consecutive index columns to be used in a multi-column index

So isn't the following paragraph from "Multicolumn Indexes" out of
date?

  The query planner can use a multicolumn index for queries that
  involve the leftmost column in the index definition plus any
  number of columns listed to the right of it, without a gap.  For
  example, an index on (a, b, c) can be used in queries involving
  all of a, b, and c, or in queries involving both a and b, or in
  queries involving only a, but not in other combinations.  (In a
  query involving a and c the planner could choose to use the index
  for a, while treating c like an ordinary unindexed column.)

http://developer.postgresql.org/docs/postgres/indexes-multicolumn.html

-- 
Michael Fuhr



view thread (5+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Multicolumn index doc out of date?
  In-Reply-To: <[email protected]>

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

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