The following bug has been logged online: Bug reference: 5464 Logged by: Michael Enke Email address: michael.e...@wincor-nixdorf.com PostgreSQL version: 8.4.4 Operating system: Linux Description: ecpg on 64bit system converts "long long" to "long" Details:
This applies for at least ecpg 4.5.0 and 4.4.0. On 32 bit system the type is not changed. Example: ---------------------------------------- EXEC SQL INCLUDE sqlca; EXEC SQL BEGIN DECLARE SECTION; long long test; EXEC SQL END DECLARE SECTION; int main(int argc, char **argv) { return 0; } ---------------------------------------- If you run it through ecpg, in the resulting c file the variable test has type long on 64 bit system. On 32 bit system it is long long. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs