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 1lcapK-0002JL-8j for pgsql-general@arkaria.postgresql.org; Fri, 30 Apr 2021 21:37:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lcapH-000626-CE for pgsql-general@arkaria.postgresql.org; Fri, 30 Apr 2021 21:37:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcRHr-0007XO-Q1 for pgsql-general@lists.postgresql.org; Fri, 30 Apr 2021 11:26:23 +0000 Received: from mout0.freenet.de ([2001:748:100:40::2:2]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.92) (envelope-from ) id 1lcRHp-0001Ul-B8 for pgsql-general@lists.postgresql.org; Fri, 30 Apr 2021 11:26:23 +0000 Received: from [195.4.92.123] (helo=sub4.freenet.de) by mout0.freenet.de with esmtpa (ID rissler.wolfgang@01019freenet.de) (port 25) (Exim 4.92 #3) id 1lcRHm-0000kh-GG for pgsql-general@lists.postgresql.org; Fri, 30 Apr 2021 13:26:18 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; s=mjaymdexmjqk; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ywnoLfP77ST2nPugRKY2vBXGOSDB+p5l23+OkMLqy64=; b=IErkMf4jqGVgAEkX4Y9pWW55dv QPztXM98zAyInmqVOHDw1qWFOZNfhgyAgSX3c+1OnO0wrX4tJAwtvuxsClMsZ5pur3YRV4WYrBHeB +nXhffM6TzW8PVROy9mLmE8M29hjNb9vKF5M9LxQ51dLpZk9ESmtr8ogBCQxOyGgOn4VBboATQgDA QlVtZ6LrbtTCqORAa3JZJEmbKWtbdZ/7eQRqnsesZ+S0jnqsu9VLPgQ6L+ZH8xyqAXVwj8pBXrI94 rYmxfCa4H0N7wsC4tM64S21+n+Bd0Uzu6IkP7dGA9vnwO5R9yd3wiEMKHr3OvvvyXkbaQ2WCstKhg YDd64DTw==; Received: from p200300fc1f03db004553a869a185c341.dip0.t-ipconnect.de ([2003:fc:1f03:db00:4553:a869:a185:c341]:61930) by sub4.freenet.de with esmtpsa (ID rissler.wolfgang@01019freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.92 #3) id 1lcRHm-00071t-D9 for pgsql-general@lists.postgresql.org; Fri, 30 Apr 2021 13:26:18 +0200 Subject: Re: Access a newer Version of PGDB (v13) with an older libpq (v10 x86) To: pgsql-general@lists.postgresql.org References: <93886d70b1b1adfc3fcb1f0b717d015d1a950491.camel@cybertec.at> From: =?UTF-8?Q?Wolfgang_Ri=c3=9fler?= Message-ID: <5f0292ca-e43b-00ae-3a33-19afc81b646d@freenet.de> Date: Fri, 30 Apr 2021 13:26:17 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <93886d70b1b1adfc3fcb1f0b717d015d1a950491.camel@cybertec.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Originated-At: 2003:fc:1f03:db00:4553:a869:a185:c341!61930 X-FNSign: v=2 s=2E1D24D5F7E275805E3C75421E985FB6B9E020A1D4DF49734D9AE71461CAA00E X-Scan-TS: Fri, 30 Apr 2021 13:26:18 +0200 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Am 30.04.2021 um 13:00 schrieb Laurenz Albe: > On Fri, 2021-04-30 at 10:49 +0200, Wolfgang Rißler wrote: >> we are (unfortunately) on windows with our DB and our application. >> Now we want to switch to a new version of Postgres, because we want to >> use logical replication (to replace our old Postgres 8.3 with >> slony-replication). >> >> 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). >> >> I tried to access a PostgresDB 64bit v10, and it worked very nice. >> So my question is, could (or should) we rather use PostgresDB v13 (to >> get the newest) or should we stay on PostgresDB v10 (to be more >> compatible to our libpq/libpqxx). > > Use the latest PostgreSQL client if you can, it shouldn't be a problem. > > Yours, > Laurenz Albe > Thanks for answering, but I didn't ask for a PostgreSQL client. I asked for the c-language-lib libpq. (which is maybe used by some clients). I would use the latest libpq, but I cant, because our c++-project stucks in 32bit architecture. The latest 32bit pqlib is that from v10. Can I access a PostgreSQL v13 Database with this pqlib safely? -- Wolfgang Rißler mailto: wolfgang.rissler@freenet.de mobil: +49 1520 9191759 - may the source be with you -