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.96) (envelope-from ) id 1vgJly-00AquO-2h for pgsql-committers@arkaria.postgresql.org; Thu, 15 Jan 2026 09:36:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vgJly-00G5c5-03 for pgsql-committers@arkaria.postgresql.org; Thu, 15 Jan 2026 09:36:10 +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.96) (envelope-from ) id 1vgJlx-00G5bd-1E for pgsql-committers@lists.postgresql.org; Thu, 15 Jan 2026 09:36:10 +0000 Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vgJlu-000XZ5-0L for pgsql-committers@lists.postgresql.org; Thu, 15 Jan 2026 09:36:08 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 7E84214001B4; Thu, 15 Jan 2026 04:36:05 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Thu, 15 Jan 2026 04:36:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1768469765; x=1768556165; bh=q5ZS21HkRXyHsPq4kpZmOxlLEWG6WteoXkFbD4qcBXM=; b= JmXq+/UsgKUVTCHvqcvkRVmUTLh0HeXbEZf/HbpTddHyrd6bYb7k4yZGYM2qNpQB 3AyZkPYzNQL6GP+oRIBAPuPGcj92iPyClHipPkUQmM64ej7UEGSInlftLAUi8LHf +2NL6XtkN1XQLUIopbgEaN97Kjyv6thhEH1r3bsE/tmzKAJd15oDXpyCLZ7KR2ZP qkl5Mh+MVZxw2S5zwHYaxgK+pVqAx/iJAO0gNNMlNIFadlTobe0KWayblTsfUUzQ 6mhDVSInFKw5uAz8kEBBt8SF8LiHagA0NFBbKMnYoej0Jb7mrE3l4O04W3KYzSNB QnwNk44+lfIQAOjXGz1ypg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1768469765; x=1768556165; bh=q 5ZS21HkRXyHsPq4kpZmOxlLEWG6WteoXkFbD4qcBXM=; b=eAqNGoFhYRTA0K4Z5 SeKoerOHLeMVO5RRhP37KVg57cpBCm8mIxTWA4uQ+mcDSZKWWFpj0c+XMDFKPnC4 /eZESyx+CCSFaLmWELp8tP9KOzaubpGuuKgM3uHXVMcqsfXEFjYhUHh+8k7ztoOs IUEUwCXphD8Hkoq6u8uOFS+Dzw2nQzljwI5cunrX1vOL/Efu2f7IU2esqFDZuQy0 wpG666+k1SM3XyUmE5a3RmL1bMdUJiufMQy+fIUmWAKVQ6Y7egxAppeGldi4k8ov jUIioqn9sr4W9C2scaqS5Onc96K05agkAfC7CL2n+E00zl6TlDPWU8GJUdyRbSW4 gZVHw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduvdehjeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffhvfhfjggtgfesthejredttddvjeenucfhrhhomheprfgvthgvrhcu gfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqeenuc ggtffrrghtthgvrhhnpeejgeetjeeftdelvdeggeellefgudehgeeljeevgfegvdegudff udetvdeuieevheenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhesvghi shgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopehpghhsqhhlqdgtohhmmhhithhtvghrsheslhhishhtshdrphho shhtghhrvghsqhhlrdhorhhgpdhrtghpthhtoheprghnughrvgifseguuhhnshhlrghnvg drnhgvthdprhgtphhtthhopegusghrhigrnhdrghhrvggvnhesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 15 Jan 2026 04:36:04 -0500 (EST) Message-ID: <397fa815-c0cc-4531-9d09-0be3cc72c59a@eisentraut.org> Date: Thu, 15 Jan 2026 10:36:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Enable Python Limited API for PL/Python on MSVC From: Peter Eisentraut To: pgsql-committers@lists.postgresql.org, Andrew Dunstan , Bryan Green References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is failing on buildfarm member drongo: . AFAICT, this is the only buildfarm member that tests Python on Windows, so we have no additional results to compare with. It did pass on Cirrus CI. Andrew/Bryan, could you figure out how the Python installation on drongo is different? On 14.01.26 10:53, Peter Eisentraut wrote: > Enable Python Limited API for PL/Python on MSVC > > Previously, the Python Limited API was disabled on MSVC due to build > failures caused by Meson not knowing to link against python3.lib > instead of python3XX.lib when using the Limited API. > > This commit works around the Meson limitation by explicitly finding > and linking against python3.lib on MSVC, and removes the preprocessor > guard that was disabling the Limited API on MSVC in plpython.h. > > This requires python3.lib to be present in the Python installation, > which is included when Python is installed. > > Author: Bryan Green > Discussion: https://www.postgresql.org/message-id/flat/ee410de1-1e0b-4770-b125-eeefd4726a24%40eisentraut.org > > Branch > ------ > master > > Details > ------- > https://git.postgresql.org/pg/commitdiff/2bc60f86219b00a9ba23efab8f4bb8de21e64e2a > > Modified Files > -------------- > meson.build | 16 +++++++++++++++- > src/pl/plpython/plpython.h | 4 ---- > 2 files changed, 15 insertions(+), 5 deletions(-) >