The problem exists only between windows client and remote windows server. The other configurations (for example remote linux server)works ok. We are using stable version of psqlodbc driver.