Re: Can 64bit libpq to access 32bit postgresDB in X86_64 platform

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: 陈 <bchen90(at)163(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Can 64bit libpq to access 32bit postgresDB in X86_64 platform
Date: 2022-04-10 03:47:20
Message-ID: 26896.1649562440@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

=?UTF-8?B?6ZmI?= <bchen90(at)163(dot)com> writes:
> I tried to access the PostgresDB 32bit, with 64bit libpq and it works very nice.
> So my question is, can we use 64bit lippq to access 32bit PostgresDB in X86_64 platform?

Seems like you know your answer already.

In any case, the PG wire protocol is platform-independent, so yes.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2022-04-10 07:37:15 Re: [HACKERS] WIP aPatch: Pgbench Serialization and deadlock errors
Previous Message 2022-04-10 02:32:29 Can 64bit libpq to access 32bit postgresDB in X86_64 platform