| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> |
| Cc: | nolan <nolan(at)celery(dot)tssi(dot)com>, pgsql hackers list <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: initcap incompatibility issue |
| Date: | 2003-07-10 02:31:19 |
| Message-ID: | 3907.1057804279@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"scott.marlowe" <scott(dot)marlowe(at)ihs(dot)com> writes:
> On Wed, 9 Jul 2003 nolan(at)celery(dot)tssi(dot)com wrote:
>> Wrong again. Oracle also capitalizes the first letter after a comma,
>> semicolon, colon, period, and both a single and double quote. (And that's
>> all I've tested so far.)
> 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).
>> That also brings into question whether this is really a bugfix or a
>> specification change, a question which is relevant since we're in the
>> feature freeze for 7.4.
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.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christopher Kings-Lynne | 2003-07-10 02:35:04 | Possible psql bug |
| Previous Message | Christopher Kings-Lynne | 2003-07-10 02:28:24 | static dumper idea |