Skip site navigation (1) Skip section navigation (2)

Multicolumn index doc out of date?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: pgsql-docs(at)postgresql(dot)org
Subject: Multicolumn index doc out of date?
Date: 2005-09-12 14:26:47
Message-ID: 20050912142647.GA34685@winnie.fuhr.org (view raw or flat)
Thread:
Lists: pgsql-docs
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

Responses

pgsql-docs by date

Next:From: Neil ConwayDate: 2005-09-12 18:23:22
Subject: Re: [PATCHES] Clarifying Autovacuum docs in the release notes
Previous:From: David FetterDate: 2005-09-12 03:32:40
Subject: Clarifying Autovacuum docs in the release notes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group