Re: Associative arrays and case sensitivity
| From: | Tomas V.V.Cox | Date: | Tue, 11 Sep 2001 22:18:31 +0000 |
| Subject: | Re: Associative arrays and case sensitivity | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1885@lists.php.net to get a copy of this message | ||
Chuck Hagenbuch wrote:
>
> Quoting "Tomas V.V.Cox" <cox@idecnet.com>:
>
> > What's the general felling to return column names in the same case for
> > all drivers? I remember a time, when I needed to port a postgres app to
> > oracle with phplib, and having this was very helpful.
>
> I'm uneasy about it breaking things, since it would mean you couldn't use the
> returned column names to build a query for a case-sensitive database.
>
I found that situation more hard to occur than the habitual change from
one database to other. Any way, we could use lower case columns on
case-sensitive databases only when the "optimize as portability" option
is set to don't loose performance or compatibility.
Tomas V.V.Cox