[patch] modified columns

[prev] [thread] [next] [Date index for 2004/06/01]

From: Allen Day
Subject: [patch] modified columns
Date: 20:03 on 01 Jun 2004
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@xxxxxxxxx.xxx.xxxxxxxxxx.xxx for more info.

--1134876513-1925123241-1086120181=:4169
Content-Type: TEXT/PLAIN; charset=US-ASCII

I submitted this patch (against 0.96, attached), originally against 0.94,
some time ago.  itt wasn't incorporated into a release, but it wasn't flat
out rejected either.  I need this functionality to take advantage of
PostgreSQL functional indexes, for instance:

  SELECT * FROM book WHERE lower(title) LIKE 'symbolic logic'

can use a functional index defined as:

  CREATE INDEX ON book(lower(title))

which performs much better than the ILIKE version of the same query:

  SELECT * FROM book WHERE title ILIKE 'symbolic logic';

Please let me know if this patch is acceptable for 0.97, and if not what
needs to be done to get it merged in.

-Allen
--1134876513-1925123241-1086120181=:4169
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Class-DBI-0.96-modfied-columns.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.58.0406011303010.4169@xxxx.xxxxxxxx.xxxx.xxx>
Content-Description: 
Content-Disposition: attachment; filename="Class-DBI-0.96-modfied-columns.patch"

LS0tIERCSS5wbS5vcmlnCTIwMDQtMDYtMDEgMTI6NDI6NTYuMDAwMDAwMDAw
IC0wNzAwDQorKysgREJJLnBtCTIwMDQtMDYtMDEgMTI6NDk6MzEuMDAwMDAw
MDAwIC0wNzAwDQpAQCAtMTA3OCwxMCArMTA3OCwyMSBAQCBzdWIgX2RvX3Nl
YXJjaCB7DQogCW15IChAY29scywgQHZhbHMpOw0KIAlteSAkc2VhcmNoX29w
dHMgPSBAYXJncyAlIDIgPyBwb3AgQGFyZ3MgOiB7fTsNCiAJd2hpbGUgKG15
ICgkY29sLCAkdmFsKSA9IHNwbGljZSBAYXJncywgMCwgMikgew0KKwkJI3Ro
aXMgcmVnZXggYWxsb3dzIHRoZSBmaWVsZ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20:03 on 01 Jun 2004

Re: [patch] modified columns
Tony Bowden 08:14 on 02 Jun 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52