Re: Compatibility modes supported in ECPG

Ashutosh Sharma <[email protected]> Wed, 10 Jan 2018 21:10:20 +0530
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <CAE9k0PnL0JCaKKWqFZY9x5Ar5+=ChUn-thf=CedAOV6LsdfDnQ@mail.gmail.com>
On Wed, Jan 10, 2018 at 5:59 PM, Michael Meskes <[email protected]> wro=
te:
> Hi,
>
>> Shouldn't we throw an error for this, instead of accepting it and
>> assuming it as INFORMIX_SE mode. Thoughts?
>
> Yes, I'd say that would be better. :)
>

Thanks Michael. Shall i submit a patch for it. Also, what about making
the compatibility modes case insensitive. Currently, ecpg accepts
compatibility mode only in capital letters. In case if the INFORMIX or
INFORMIX_SE is entered in small or mixed type letter, ecpg throws an
error. Shouldn't that be handled as well?

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

> Michael
> --
> Michael Meskes
> Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
> Meskes at (Debian|Postgresql) dot Org
> Jabber: michael at xmpp dot meskes dot org
> VfL Borussia! For=C3=A7a Bar=C3=A7a! Go SF 49ers! Use Debian GNU/Linux, P=
ostgreSQL