Compatibility modes supported in ECPG
Ashutosh Sharma <[email protected]> Wed, 10 Jan 2018 17:14:26 +0530
| Newsgroups | gmane.comp.db.postgresql.interfaces |
|---|---|
| Message-ID | <CAE9k0P=5jSNUw5NSO6xcbxTzfNo7Wrmc8TFFv2qVxKLAR-T6dQ@mail.gmail.com> |
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@localhost bin]$ ./ecpg -C INFORMIX_BAD_COMPAT_MODE test_compat_modes.pc [ashu@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