Zahid Khan wrote:
Hi , Going through the code of psqlODBC i suspect a bug in bind messege function BuildBindRequest() for SunOS(64bit). I found netleng is declared with size_t and the sizeof size_t is of eight byte on SunOS 64bit whereas PG protocol expect 4 bytes for legth over the network.
Seems you are right. I would commit the fix tonight. Thanks. Hiroshi Inoue