Re: initcap incompatibility issue - Mailing list pgsql-hackers

From nolan@celery.tssi.com
Subject Re: initcap incompatibility issue
Date
Msg-id 20030709182906.9568.qmail@celery.tssi.com
Whole thread Raw
In response to initcap incompatibility issue  (nolan@celery.tssi.com)
List pgsql-hackers
> 
> The initcap function is not completely consistent with Oracle's initcap
> function:
> 
>      SELECT initcap('alex hyde-whyte');
> 
> In Oracle 9.2i this will return 'Alex Hyde-White', in PostgreSQL 7.3.3
> it returns 'Alex Hyde-white'.

No, it doesn't change the 'y' to an 'i', that's a typo in my earlier
note.  As far as I can tell, not capitalizing the first letter after a dash
is the only inconsistency with Oracle's implementation of this function.

If a patch is in order at this time, I will try to produce it, I need to 
learn set up CVS and how to do that anyway.  :-)
--
Mike Nolan


pgsql-hackers by date:

Previous
From: nolan@celery.tssi.com
Date:
Subject: initcap incompatibility issue
Next
From: nolan@celery.tssi.com
Date:
Subject: Re: initcap incompatibility issue