public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ashutosh Sharma <[email protected]>
To: [email protected]
Cc: Michael Meskes <[email protected]>
Subject: ECPG: New compatibility mode is case sensitive
Date: Wed, 25 Jul 2018 10:13:38 +0530
Message-ID: <CAE9k0Pk0iBSssk2pspu=6dLcQKKT=s0Oz+4JN0Py13-gZHtaGQ@mail.gmail.com> (raw)

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@localhost bin]$ ./ecpg -C oracle test.pc
Try "./ecpg --help" for more information.
[ashu@localhost bin]$ ./ecpg -C INFORMIX test.pc
[ashu@localhost bin]$ ./ecpg -C informix test.pc

-- 
With Regards,
Ashutosh Sharma
EnterpriseDB:http://www.enterprisedb.com




reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: ECPG: New compatibility mode is case sensitive
  In-Reply-To: <CAE9k0Pk0iBSssk2pspu=6dLcQKKT=s0Oz+4JN0Py13-gZHtaGQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox