pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Larry Rosenman <ler@lerctr.org>
To: John Siracusa <siracusa@mindspring.com>
To: Postgres Performance <pgsql-performance@postgresql.org>
Subject: Re: Feature request: smarter use of conditional indexes
Date: Sat, 06 Mar 2004 20:39:38 -0600
Message-ID: <32080000.1078627178@lerlaptop.lerctr.org> (raw)
In-Reply-To: <41C473B6-6FDF-11D8-9156-000A95BA4506@mindspring.com>
References: <41C473B6-6FDF-11D8-9156-000A95BA4506@mindspring.com>



--On Saturday, March 06, 2004 21:29:27 -0500 John Siracusa 
<siracusa@mindspring.com> wrote:

> On 3/3/04 6:53 PM, Tom Lane wrote:
>>  John Siracusa <siracusa@mindspring.com> writes:
>>>  Given an index like this:
>>>      CREATE UNIQUE INDEX i1 ON t1 (c1) WHERE c1 IS NOT NULL;
>>>  and a query like this:
>>>      SELECT * FROM t1 WHERE c1 = 123;
>>>  I'd like the planner to be smart enough to use an index scan using
>>> i1.
>>
>>  Send a patch ;-)
Just a suggestion, please use diff -c format, as it makes it easier for
the folks who apply the patches to do so.
[snip]


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

view thread (11+ messages)  latest in thread

Message-ID: <32080000.1078627178@lerlaptop.lerctr.org>
Permalink:  ../32080000.1078627178@lerlaptop.lerctr.org/
Also on:    postgresql.org/message-id/32080000.1078627178@lerlaptop.lerctr.org

 · 

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: pgsql-performance@postgresql.org
  Cc: ler@lerctr.org, siracusa@mindspring.com
  Subject: Re: Feature request: smarter use of conditional indexes
  In-Reply-To: <32080000.1078627178@lerlaptop.lerctr.org>

* 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