Re: 32-bit libpq with 64-bit server

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Marc Watson <mark(dot)watson(at)jurisconcept(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 32-bit libpq with 64-bit server
Date: 2012-06-21 02:47:20
Message-ID: 4FE28B38.3080608@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message utsav 2012-06-21 02:52:41 Re: RETURNING MORE THAN ONE CUSTOM TYPE FROM FUNCTION
Previous Message Emi Lu 2012-06-20 20:16:35 Re: Simple method to format a string?