I'll try my code on Windows next days with current versions of database and driver. I only had compile problems on Mac OS X using fink based postgreSQL installation. I think, I write a plain C version as for testing purposes and see what happens with them. Regards, Lothar