Search Postgresql Archives

Re: 32-bit libpq with 64-bit server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

[Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Programming PHP]     [Kernel Newbies]     [PHP Classes]     [Find Someone Nice]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

Add to Google Powered by Linux