Re: BETWEEN optimizer problems with single-value

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-performance(at)postgresql(dot)org, Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
Subject: Re: BETWEEN optimizer problems with single-value
Date: 2006-03-16 20:00:19
Message-ID: 1142539219.3859.517.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On Thu, 2006-03-16 at 14:45 -0500, Tom Lane wrote:
> Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> > [BTW how do you add new indexes to system tables? I want to add one to
> > pg_inherits but not sure where to look.]
>
> src/include/catalog/indexing.h
>
> Offhand I think adding a new entry is all you have to do. You may also
> want a syscache to go with it, which'll take a bit more work.

I see its actually postgres.bki... I never scrolled to the bottom before
now.

I'll have a go.

Best Regards, Simon Riggs

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-03-16 20:09:10 Re: qsort, once again
Previous Message Jonah H. Harris 2006-03-16 19:56:08 Re: qsort, once again

Browse pgsql-performance by date

  From Date Subject
Next Message Theo Kramer 2006-03-16 20:34:51 Indexes with descending date columns
Previous Message Tom Lane 2006-03-16 19:45:34 Re: BETWEEN optimizer problems with single-value