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 1lcsNa-0005ko-DS for pgsql-general@arkaria.postgresql.org; Sat, 01 May 2021 16:22:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lcsNZ-0005XY-AE for pgsql-general@arkaria.postgresql.org; Sat, 01 May 2021 16:22:05 +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 1lcnLU-0007kY-GC for pgsql-general@lists.postgresql.org; Sat, 01 May 2021 10:59:36 +0000 Received: from mout3.freenet.de ([2001:748:100:40::2:5]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcnLN-0005Tx-JD for pgsql-general@lists.postgresql.org; Sat, 01 May 2021 10:59:35 +0000 Received: from [195.4.92.127] (helo=sub8.freenet.de) by mout3.freenet.de with esmtpa (ID rissler.wolfgang@01019freenet.de) (port 25) (Exim 4.92 #3) id 1lcnLI-0006fI-Tr for pgsql-general@lists.postgresql.org; Sat, 01 May 2021 12:59:24 +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=YxnJhwECx7K9acb/HDucV4xQvSE7KlM2MkTDj+er3UU=; b=ZWuqBcTjNyGm15ZMo8RiZpJE0U e3dr4VhksuC5cDV7NlPBdVLFuv8DHudvUGcanXUpJOMGYGRdhlSgv0j6BWTy36kxdmm61+JVdAuD6 hjSrBS7qKLqHqrluY93m8xnH2C6MMauyXVrptLDLqH8Vfii85GXo+oQlnvqiSIeckQBSmNLjvx8Lz zoT/qz0LZ4M/RCMRM/6KLkd+RLedXo2l6LcbMS8TwvfeS1CwD3jPGAALwDdb8SnSJ4RDGzFsE/hBC RW19vsGS24QxCuUzHo5sGZH9UA0gPB7FQcagBVxHdaKMZH0T/3RGICoLCpDp0rzGnsIkgRpKNifkD 6yBeavqQ==; Received: from p200300fc1f03db004553a869a185c341.dip0.t-ipconnect.de ([2003:fc:1f03:db00:4553:a869:a185:c341]:61507) by sub8.freenet.de with esmtpsa (ID rissler.wolfgang@01019freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.92 #3) id 1lcnLI-0005RK-RI for pgsql-general@lists.postgresql.org; Sat, 01 May 2021 12:59:24 +0200 Subject: Re: Access a newer Version of PGDB (v13) with an older libpq (v10 x86) To: pgsql-general@lists.postgresql.org References: <3257213.1619792167@sss.pgh.pa.us> From: =?UTF-8?Q?Wolfgang_Ri=c3=9fler?= Message-ID: Date: Sat, 1 May 2021 12:59:15 +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: <3257213.1619792167@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originated-At: 2003:fc:1f03:db00:4553:a869:a185:c341!61507 X-FNSign: v=2 s=2355521A1041452193EA408BBEA6E7BE3CEB44E9230DDFB515023AB217EB4A00 X-Scan-TS: Sat, 01 May 2021 12:59:24 +0200 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Am 30.04.2021 um 16:16 schrieb Tom Lane: > =?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"? Ok, I meant, the last ready to use packaged 32-bit libpq from EDB (~_0). > > 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. This is my problem, I completely dont know, how to start compiling my own actual 32bit libpq on windows (and I would like to do it with VS 2019). For libpqxx there have been some hints how to do so in the past, and now there is a complete project, which deals with compiling it on windows with VS and CMake. But I didnt find such hints for libpq or the whole postgresDB. Or is there another provider, who supplys V13 32bit binary installers for Windows? > > 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. Of course we'll do. One thing is, that we load and write bytea's. And as I read, there have been some changes. All other Operations are less problematic. Thank you -- - may the source be with you -