Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qPOQQ-00AsjT-Am for pgsql-general@arkaria.postgresql.org; Fri, 28 Jul 2023 14:26:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qPOQO-00GYN8-Gq for pgsql-general@arkaria.postgresql.org; Fri, 28 Jul 2023 14:26:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qPOQO-00GYMz-5b for pgsql-general@lists.postgresql.org; Fri, 28 Jul 2023 14:26:36 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qPOQJ-0023Hj-HN for pgsql-general@lists.postgresql.org; Fri, 28 Jul 2023 14:26:34 +0000 Received: from mail.nexus-ag.de ([80.155.157.44]) by mrelayeu.kundenserver.de (mreue009 [213.165.67.97]) with ESMTPSA (Nemesis) id 1Mk0FM-1q16In0N5M-00kO19 for ; Fri, 28 Jul 2023 16:26:29 +0200 Received: from [191.100.2.55] (port=7684 helo=DS-EX01.nexus.int) by mail.nexus-ag.de with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1qPOQF-00048t-0S; Fri, 28 Jul 2023 16:26:27 +0200 Received: from DS-EX02.nexus.int (191.100.2.56) by DS-EX01.nexus.int (191.100.2.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Fri, 28 Jul 2023 16:26:26 +0200 Received: from DS-EX02.nexus.int (191.100.2.56) by DS-EX02.nexus.int (191.100.2.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Fri, 28 Jul 2023 16:26:26 +0200 Received: from DS-EX02.nexus.int ([fe80::c91c:9f01:1d5e:4c53]) by DS-EX02.nexus.int ([fe80::c91c:9f01:1d5e:4c53%5]) with mapi id 15.01.2507.016; Fri, 28 Jul 2023 16:26:26 +0200 From: Priess Stefan To: Tom Lane CC: "pgsql-general@lists.postgresql.org" Subject: AW: Compile static postgres.lib for postgres 15.3 on Windows Thread-Topic: Compile static postgres.lib for postgres 15.3 on Windows Thread-Index: AdnBPR9AerVOn4GRS06QsDM5veXXNQAA97mAAARuVKA= Date: Fri, 28 Jul 2023 14:26:26 +0000 Message-ID: <8ede2140ca8f42b8ba897ad0618f8ef3@nexus-chili.com> References: <4236ecee89c04926aa9f53e065516729@nexus-chili.com> <2326806.1690548487@sss.pgh.pa.us> In-Reply-To: <2326806.1690548487@sss.pgh.pa.us> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.161.105] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Provags-ID: V03:K1:FmhsWxoUPEk2scSimjRgRKMBFvZw52vfEitK0r4EOMLBsuwhrws JNqBpwHU5ULuPfeSzbJRzSEb5M0MTr8SQHCcwe25mxljVonyJLSSt3a7JHTx/HGRrpvmm5W TZsfbe0AP/YAY+X9YZxYpLgd7i0cbVGCepKdcTEESL6K9hGITHOob23cLAQ1YSltzoe/O/d xkdz2B5iRIlEowg3Zu+3w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:i+4XhCKuPOE=;UqNeFuMzNmJ6MU1HsfW6w1ckO27 i7Rk6wc7Arfeupb2gDYAl65bSnBjVMFCJK/6tRN8tpkcw5btyFTdnlGrCAMR73dxrF2jK3JbC n8nXF7UPK/fFz2vlVwE5IC/2KNlfbvJErohuxQ8uVjJVM4CF2yu19YcIhRZISaGwrybOL6/Tt GVkPCCsFuzYfWMgCR79LxdVrb85maljI3yXhj0M+CLZzfAHDeegDrUkJp0PNPZ/ytD+taEE+0 IUHUVPcAMg12+rr3rS0AycycKVCkoDznYZ6+jV0T8sWH0RdcGjN6pKO2GiRhaYUMGQA10Cw7p eYE/K5fIAnX08pqW+6KMaIk5VWyQP5WbCKbrgpv4wrGzOXm4AiZtUK0JkyaHmgUsHph3DsPfE JfhaZqXxBWPvTN4gfXB5kdRhlCJgpCQllVyJEmG5gkBxEhdAqv8PNsp3/NdTWSX41rfmYgWPI BCRJStVprYqkDh8FER+qL7uP9+iFoWBhk6HEqpv+8BoLYgNkj8LIzVeRKhoj2AJz27nctxlLH 89uPTVih98DvalDQiumNeVDGW0wvqS5aKxrle8nMI7hvKDMKbDBa/tN5JWmE0eLuCCy74+eI0 vENAsZ2i4i9RypEFE/8gjF+nWYwoXDYzWeIeNrf25rDFhxTrevifuJnt0aRTjlLmOXFCIl7hp NXw6ruo8uuLu7aRAoSpj7PHsHjScFuDqyuSAZfA6d6H6oXs86dHHgzWJZCrk/R5oe1sQEonVN fUzZKYRcxn95U2/LWQ2mbeR51D/MsTzX3vtpuT25StY6rLAUCPb72yAl/AXN+qRu64nbZyfMZ CqovQ4n/mSHTBbHGBUflISnqAwfkpK7PH2YjSfZrsmlhzm4lqu+ExPTt4D4XK4GwEBTu81nh3 QQWnVqZ/kFAh8Bg== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thanks Tom!=20 I also need to change the default port from 5433 to 5432 (--with-pgport=3D5= 433). How can I do this using the build.bat toolchain? I don't see the pgpo= rt parameter in the config_default.pl file. Best, Stefan nexus / chili Stefan Priess Softwareentwicklung Tel: +49 6221 18079-10 E-Mail: stefan.priess@nexus-chili.com NEXUS / CHILI GmbH, Friedrich-Ebert-Str. 2, 69221 Dossenheim/Heidelberg=20 www.nexus-chili.com Eingetragene Gesellschaft beim Registergericht Mannheim, HRB 337363 Gesch=E4ftsf=FChrer: Dr. Uwe Engelmann, Dr. Heiko M=FCnch -----Urspr=FCngliche Nachricht----- Von: Tom Lane =20 Gesendet: Freitag, 28. Juli 2023 14:48 An: Priess Stefan Cc: pgsql-general@lists.postgresql.org Betreff: Re: Compile static postgres.lib for postgres 15.3 on Windows Priess Stefan writes: > up to version 9.6.22 there was a win32.mak file in the src/interfaces/lib= pw folder which could be used to compile a static postgres.lib using nmake.= Since Postgres 10 this file has been removed. Yup. It didn't really work right and there was insufficient interest in ma= intaining it. > Is it still possilbe to build a static postgres.lib for windows ? And if = so, how do I do it. Run the normal build process using MSVC, and then just take libpq.lib from = the results. On any modern machine that's just going to take a few minutes= , so it's not worth maintaining a separate libpq-only build path. regards, tom lane