Hello,
I've attached a zip file containing a Visual Studio 2010 project tested on a 'PostgreSQL Unicode' system-DSN named TestODBC and a dump of a test database named TestODBC.
The line with the statement that returns one row is commented out.
The other returns 5 rows in the release version - it skips the first line and returns the last row twice though. When using the debugger it crashes on the last row.
Thank you very much in advance!
Best regards,
Peter Seifert