pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rural Hunter <ruralhunter@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Is it possible to use index on column for regexp match operator '~'?
Date: Thu, 15 Dec 2011 00:05:31 +0800
Message-ID: <4EE8C94B.5000607@gmail.com> (raw)

for example, the where condition is: where 'aaaa' ~ col1. I created a 
normal index on col1 but seems it is not used.



view thread (3+ messages)  latest in thread

Message-ID: <4EE8C94B.5000607@gmail.com>
Permalink:  ../4EE8C94B.5000607@gmail.com/
Also on:    postgresql.org/message-id/4EE8C94B.5000607@gmail.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: ruralhunter@gmail.com
  Subject: Re: Is it possible to use index on column for regexp match operator '~'?
  In-Reply-To: <4EE8C94B.5000607@gmail.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