The following bug has been logged online:
Bug reference: 4091
Logged by: Mikael Omma
Email address: mikael(dot)omma(at)ge(dot)com
PostgreSQL version: 8.2.6
Operating system: SUSE Linux 10
Description: ECPG $select incompability with Informix
Details:
ECPG "$select a, b, c into :a, :b, :c from table".
If in the db table the order of columns (b, a, c) this will not work. I
have ESQL code from Informix ported to PostgreSQL. In informix the order in
columns in the select query does not have to match the real order in the
table of the database. Workaround is to reorder all columns in the ported
code.