From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Huselid <dhuselid@pepperdash.com>
Cc: wweng@kencast.com
Cc: pgsql-sql@postgresql.org
Subject: Re: create index on function - why?
Date: Fri, 15 Feb 2002 13:15:14 -0500
Message-ID: <15109.1013796914@sss.pgh.pa.us> (raw)
In-Reply-To: <004901c1b64a$c32e4870$9801a8c0@TELLURIUM>
References: <004901c1b64a$c32e4870$9801a8c0@TELLURIUM>
"David Huselid" <dhuselid@pepperdash.com> writes:
> PostgreSQL 7.0.2
You need to update ...
> But I am getting the following error:
> ERROR: DefineIndex: function 'upper(varchar)' does not exist
7.0.* is quite picky about index functions; there has to be an exact
match in pg_proc, not just a binary-compatible match. You could work
around this by creating a pg_proc entry for upper(varchar) that matches
the one for upper(text) ... but I'd suggest updating instead.
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, dhuselid@pepperdash.com, wweng@kencast.com
Subject: Re: create index on function - why?
In-Reply-To: <15109.1013796914@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