Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcTwG-0003XO-4k for pgsql-general@arkaria.postgresql.org; Fri, 30 Apr 2021 14:16:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lcTwF-00065r-3S for pgsql-general@arkaria.postgresql.org; Fri, 30 Apr 2021 14:16:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcTwE-00064G-SJ for pgsql-general@lists.postgresql.org; Fri, 30 Apr 2021 14:16:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcTwC-0004YI-6H for pgsql-general@lists.postgresql.org; Fri, 30 Apr 2021 14:16:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 13UEG7UH3257214; Fri, 30 Apr 2021 10:16:08 -0400 From: Tom Lane To: =?UTF-8?Q?Wolfgang_Ri=c3=9fler?= cc: pgsql-general@lists.postgresql.org Subject: Re: Access a newer Version of PGDB (v13) with an older libpq (v10 x86) In-reply-to: References: Comments: In-reply-to =?UTF-8?Q?Wolfgang_Ri=c3=9fler?= message dated "Fri, 30 Apr 2021 10:49:34 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3257212.1619792167.1@sss.pgh.pa.us> Date: Fri, 30 Apr 2021 10:16:07 -0400 Message-ID: <3257213.1619792167@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =?UTF-8?Q?Wolfgang_Ri=c3=9fler?= writes: > The problem is, that our application (IDE MS-VisualStudio, C++) has to > be 32bit, because of some old 32bit-dll's, which we cant kick out at the > moment. > So I compiled a libpqxx with the last 32bit libpq (which is v10). Uh ... what's this about "last 32-bit libpq"? I can believe that a particular packager (EDB, say) might not be shipping prebuilt 32-bit binaries anymore. But if you are in a position to compile your own libraries then you can certainly build any release you want as 32-bit. I would recommend trying to use a reasonably late-vintage libpq; we do fix bugs in it on a regular basis. The common stumbling block for cross-version situations is that the client makes assumptions about system catalog contents that are not valid in some other server release. libpq proper doesn't really touch the catalogs, so it's mostly impervious to that problem; but you'll need to test your applications. regards, tom lane