Re: Indexing varchar fields with lower()
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Mitch Vincent" <mitch@huntsvilleal.com>
Cc: pgsql-hackers@postgresql.org
Date: 2000-05-05T16:33:55Z
Lists: pgsql-hackers
"Mitch Vincent" <mitch@huntsvilleal.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