From: Josh Berkus <josh@agliodbs.com>
To: Bruno Wolff III <bruno@wolff.to>
Cc: Kurt De Grave <Kurt.DeGrave@student.kuleuven.ac.be>
Cc: pgsql-performance@postgresql.org
Subject: Re: parameterized LIKE does not use index
Date: Thu, 23 Jun 2005 11:55:35 -0700
Message-ID: <200506231155.36126.josh@agliodbs.com> (raw)
In-Reply-To: <20050623141854.GA7505@wolff.to>
References: <42BA73CE.4030909@student.kuleuven.ac.be>
<20050623141854.GA7505@wolff.to>
Bruno,
> I remember some discussion about delaying planning until the first
> actual query so that planning could use actual parameters to do
> the planning. If you really want to have it check the parameters
> every time, I think you will need to replan every time. I don't
> know if there is a way to save some of the prepare working while
> doing this.
That wouldn't help much in Kurt's case. Nor in most "real" cases, which is
why I think the idea never went anywhere.
--
Josh Berkus
Aglio Database Solutions
San Francisco
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: josh@agliodbs.com, bruno@wolff.to, Kurt.DeGrave@student.kuleuven.ac.be
Subject: Re: parameterized LIKE does not use index
In-Reply-To: <200506231155.36126.josh@agliodbs.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