Re: Indexing varchar fields with lower()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mitch Vincent" <mitch(at)huntsvilleal(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Indexing varchar fields with lower()
Date: 2000-05-05 16:33:55
Message-ID: 7012.957544435@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Mitch Vincent" <mitch(at)huntsvilleal(dot)com> writes:
> Could putting that function in there even though it's not 'built-in' cause
> any problems that you can think of? (Mainly worried about any kind of index
> corruption like I've seen before)

No, shouldn't be a problem. The only thing non "built in" about it is
that fmgr.c has to find the function by name rather than by OID (there's
a shortcut for the OIDs of the standard pg_proc entries). So the lookup
is a tad slower, that's all.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2000-05-05 16:53:28 RFP: PostgreSQL Replication ...
Previous Message Tom Lane 2000-05-05 16:28:16 Re: 7.0RC2 compile error !