pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Anton Melser <melser.anton@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Plan differences
Date: Thu, 31 Dec 2015 10:29:10 -0600
Message-ID: <568557D6.8040905@BlueTreble.com> (raw)
In-Reply-To: <10594.1451574122@sss.pgh.pa.us>
References: <CAKywjPoJS4hQiLTukMDUCvmaA_aJp-W11tvnu-=wnwaL0vuqQA@mail.gmail.com>
	<10594.1451574122@sss.pgh.pa.us>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On 12/31/15 9:02 AM, Tom Lane wrote:
> If you don't want to rebuild the whole database, you can create indexes to
> support this by declaring them with COLLATE "C", or the older way is to
> declare them with text_pattern_ops as the index opclass.

Do you have to do anything special in the query itself for COLLATE "C" 
to work?

I didn't realize the two methods were equivalent.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (10+ messages)  latest in thread

Message-ID: <568557D6.8040905@BlueTreble.com>
Permalink:  ../568557D6.8040905@BlueTreble.com/
Also on:    postgresql.org/message-id/568557D6.8040905@BlueTreble.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Jim.Nasby@BlueTreble.com, tgl@sss.pgh.pa.us, melser.anton@gmail.com
  Subject: Re: Plan differences
  In-Reply-To: <568557D6.8040905@BlueTreble.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