pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mlartz@gmail.com <mlartz@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: Easy question
Date: 1 May 2006 04:35:20 -0700
Message-ID: <1146483320.091670.38040@u72g2000cwu.googlegroups.com> (raw)
In-Reply-To: <1146355679.311472.57800@u72g2000cwu.googlegroups.com>
References: <1145741653.759727.38970@e56g2000cwe.googlegroups.com>
	<e2lgmr$1ii5$1@news.hub.org>
	<1146101167.724196.253740@v46g2000cwv.googlegroups.com>
	<e9c163070604291453g25f08b86s5c8584670b678b32@mail.gmail.com>
	<1146355679.311472.57800@u72g2000cwu.googlegroups.com>

I can't speak to "the access mode of the SQL statement" but it looks
like the index that you are looking for is an index on an expression,
as shown in:

http://www.postgresql.org/docs/8.0/static/indexes-expressional.html

You probably want a btree on UPPER(municipo), if that is the primary
query method for the column.




view thread (8+ messages)  latest in thread

Message-ID: <1146483320.091670.38040@u72g2000cwu.googlegroups.com>
Permalink:  ../1146483320.091670.38040@u72g2000cwu.googlegroups.com/
Also on:    postgresql.org/message-id/1146483320.091670.38040@u72g2000cwu.googlegroups.com

 · 

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-performance@postgresql.org
  Cc: mlartz@gmail.com
  Subject: Re: Easy question
  In-Reply-To: <1146483320.091670.38040@u72g2000cwu.googlegroups.com>
  References: <1145741653.759727.38970@e56g2000cwe.googlegroups.com> <e2lgmr$1ii5$1@news.hub.org> <1146101167.724196.253740@v46g2000cwv.googlegroups.com> <e9c163070604291453g25f08b86s5c8584670b678b32@mail.gmail.com> <1146355679.311472.57800@u72g2000cwu.googlegroups.com> <1146483320.091670.38040@u72g2000cwu.googlegroups.com>

* 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