Compatibility modes supported in ECPG

From: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Compatibility modes supported in ECPG
Date: 2018-01-10 11:44:26
Message-ID: CAE9k0P=5jSNUw5NSO6xcbxTzfNo7Wrmc8TFFv2qVxKLAR-T6dQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi All,

As per the documentation of ecpg, currently we support only two types
of compatibility modes with ecpg and they are 1) INFORMIX and 2)
INFORMIX_SE. However, it does accept any compatibility mode option
that starts with INFORMIX*. For e.g. let us say, if i pass
'INFORMIX_BAD_COMPAT_MODE' as a compatibility mode, it still accepts
it.

[ashu(at)localhost bin]$ ./ecpg -C INFORMIX_BAD_COMPAT_MODE test_compat_modes.pc
[ashu(at)localhost bin]$

Shouldn't we throw an error for this, instead of accepting it and
assuming it as INFORMIX_SE mode. Thoughts?

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

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Meskes 2018-01-10 12:29:16 Re: Compatibility modes supported in ECPG
Previous Message Murad Karakaş 2017-11-05 21:47:13 Need help on libpq on windows