Re: Problem with index not being chosen inside PL/PgSQL function...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Weber, Geoffrey M(dot)" <Geoffrey(dot)Weber(at)mcleodusa(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problem with index not being chosen inside PL/PgSQL function...
Date: 2007-12-18 16:11:12
Message-ID: 29904.1197994272@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Weber, Geoffrey M." <Geoffrey(dot)Weber(at)mcleodusa(dot)com> writes:
> The problem I'm having is in one particular spot where I'm trying to
> run a "parametized" query inside a PL/PgSQL function.

I wonder whether the parameter is actually of the same datatype as the
indexed column.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Browne 2007-12-18 16:17:01 Re: Partitioned tables & Slony
Previous Message Ted Byers 2007-12-18 16:07:24 Re: logging arguments to prepared statements?