pg.ddx.io  pgsql-patches@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: David Rowley <dgrowley@gmail.com>
Cc: 'Peter Eisentraut' <peter_e@gmx.net>
Cc: pgsql-patches@postgresql.org
Subject: Re: [HACKERS] TODO item: Implement Boyer-Moore searching (First time hacker)
Date: Fri, 05 Sep 2008 13:29:29 -0400
Message-ID: <27645.1220635769@sss.pgh.pa.us> (raw)
In-Reply-To: <48C16BA4.2060407@enterprisedb.com>
References: <2F2A1443F6064162BECA6BB37625222E@amd64>
	<27136.1220634737@sss.pgh.pa.us>
	<48C16BA4.2060407@enterprisedb.com>

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> Also, it would be nice to use B-M(-H) for LIKE as well.

Right offhand, that seems impossible, at least in patterns with %.
Or were you thinking of trying to separate out the fixed substrings
of a pattern and search for them with BMH?

Anyway, it's not material for this patch, since it'd involve pretty
fundamental redesign of the LIKE code.

			regards, tom lane



view thread (21+ messages)  latest in thread

Message-ID: <27645.1220635769@sss.pgh.pa.us>
Permalink:  ../27645.1220635769@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27645.1220635769@sss.pgh.pa.us

 · 

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-patches@postgresql.org
  Cc: tgl@sss.pgh.pa.us, heikki.linnakangas@enterprisedb.com, dgrowley@gmail.com, peter_e@gmx.net
  Subject: Re: [HACKERS] TODO item: Implement Boyer-Moore searching (First time hacker)
  In-Reply-To: <27645.1220635769@sss.pgh.pa.us>
  References: <2F2A1443F6064162BECA6BB37625222E@amd64> <27136.1220634737@sss.pgh.pa.us> <48C16BA4.2060407@enterprisedb.com> <27645.1220635769@sss.pgh.pa.us>

* 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