| From: | Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com> |
|---|---|
| To: | pgsql-interfaces(at)lists(dot)postgresql(dot)org |
| Cc: | Michael Meskes <meskes(at)postgresql(dot)org> |
| Subject: | ECPG: New compatibility mode is case sensitive |
| Date: | 2018-07-25 04:43:38 |
| Message-ID: | CAE9k0Pk0iBSssk2pspu=6dLcQKKT=s0Oz+4JN0Py13-gZHtaGQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
Hi,
While trying to explore on a new compatibility mode (ORACLE mode) in
ecpg, I could see that for ORACLE mode we do case sensitive comparison
(using strncmp) whereas for other two modes
we do case independent comparison(using pg_strcasecmp) which means if
user is trying to compile ecpg application in oracle mode, he/she will
have to take care of the cases but, that's not true for informix or
informix_se modes. How about doing case-independent comparison for
ORACLE mode as well.?
Please have a look at the following examples for details
[ashu(at)localhost bin]$ ./ecpg -C oracle test.pc
Try "./ecpg --help" for more information.
[ashu(at)localhost bin]$ ./ecpg -C INFORMIX test.pc
[ashu(at)localhost bin]$ ./ecpg -C informix test.pc
--
With Regards,
Ashutosh Sharma
EnterpriseDB:http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ashutosh Sharma | 2018-07-25 05:01:16 | Re: Host variables in ecpg |
| Previous Message | Ashutosh Sharma | 2018-07-24 10:46:57 | Host variables in ecpg |