Re: 32-bit libpq with 64-bit server - Mailing list pgsql-general

From Craig Ringer
Subject Re: 32-bit libpq with 64-bit server
Date
Msg-id 4FE28B38.3080608@ringerc.id.au
Whole thread Raw
In response to 32-bit libpq with 64-bit server  ("Marc Watson" <mark.watson@jurisconcept.ca>)
Responses Re: 32-bit libpq with 64-bit server
List pgsql-general
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

pgsql-general by date:

Previous
From: Emi Lu
Date:
Subject: Re: Simple method to format a string?
Next
From: utsav
Date:
Subject: Re: RETURNING MORE THAN ONE CUSTOM TYPE FROM FUNCTION