From: | nolan(at)celery(dot)tssi(dot)com |
---|---|
To: | tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane) |
Cc: | scott(dot)marlowe(at)ihs(dot)com (scott(dot)marlowe), pgsql-hackers(at)postgresql(dot)org (pgsql hackers list) |
Subject: | Re: initcap incompatibility issue |
Date: | 2003-07-11 06:34:48 |
Message-ID: | 20030711063448.1957.qmail@celery.tssi.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > It sounds like Oracle is simply regexing for anything that ISN'T a letter
> > to initcap right after it. If that's the case, you could just regex too.
>
> Or more likely, use the appropriate ctype.h function (isalpha, probably).
Having tested it, Oracle capitalizes after all non-alphanumeric characters,
so !isalnum() is the appropriate function. (That makes it a one-line
patch on 7.3.3, which I've already tested.)
> AFAIK, our specification for this function is "be like Oracle", so it's
> a bug fix and fair game for 7.4. Of course, the sooner you get it in
> the more likely we'll see it that way ;-). Later in beta, only critical
> bugfixes will be accepted, and this one surely ain't very critical.
Now if I can just get CVS working on Redhat 8 and remember how to build
a patch, even a one-liner. :-)
--
Mike Nolan
From | Date | Subject | |
---|---|---|---|
Next Message | Zeno R.R. Davatz | 2003-07-11 06:40:29 | corrupt data |
Previous Message | Jenny - | 2003-07-10 22:29:10 | locking mechanism |