functional index arg matching patch

From: Mark Hollomon <mhh(at)mindspring(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: pgsql-patches(at)postgresql(dot)org
Subject: functional index arg matching patch
Date: 2000-08-21 15:47:54
Message-ID: 20000821114754.A13168@mindspring.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Attached is a patch to allow
functinal indecies to use functions that
are for 'binary-compatible' types.

eg

create function foobar(text) returns text as ....

create table vc ( a varchar );

create index on vc ( foobar(a) );

should now work.

--
Mark Hollomon
mhh(at)mindspring(dot)com

Attachment Content-Type Size
index.patch text/plain 3.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tiago Antão 2000-08-21 15:48:08 Re: Optimisation deficiency: currval('seq')-->seq scan, constant-->index scan
Previous Message Hannu Krosing 2000-08-21 15:40:05 Re: Row Level Locking Problem

Browse pgsql-patches by date

  From Date Subject
Next Message Mark Hollomon 2000-08-21 15:59:42 Re: functional index arg matching patch
Previous Message Tom Lane 2000-08-21 15:19:31 Re: [HACKERS] functional index arg matching patch