On 06/20/2012 11:07 PM, Marc Watson wrote:
Hello all,
On Windows, I have a 32-bit client application that uses the 32-bit libpq.dll. In testing the client application with a Postgres 9.2 64-bit server I’ve noticed no problems, and was wondering if anyone knows of any caveats in this – AFAICS the tcp communication is between the 32-bit libpq and the 64-bit backend is compatible.
Unless you go to considerable efforts to ensure otherwise, the protocol is text-based and isn't affected by endianness or word size. I'm not sure about the binary protocol, but it's rarely used.
--
Craig Ringer