Greetings
In february i wrote to this mailing list with a specific problem:
http://archives.postgresql.org//pgsql-admin/2009-02/msg00191.php
Robert Treat suggested that it has something to do with environment variables.
I didn't give up and there is solution:
http://archives.postgresql.org/pgsql-hackers/2009-03/msg00636.php
I hope it will help people with problem similar to mine.
Regards
Tomasz Olszak