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 1uTn2v-009vGk-0d for pgsql-general@arkaria.postgresql.org; Mon, 23 Jun 2025 19:41:37 +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 1uTn2t-0064ih-30 for pgsql-general@arkaria.postgresql.org; Mon, 23 Jun 2025 19:41:35 +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 1uTn2s-0064iA-2l for pgsql-general@lists.postgresql.org; Mon, 23 Jun 2025 19:41:35 +0000 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uTn2q-003bGJ-2f for pgsql-general@lists.postgresql.org; Mon, 23 Jun 2025 19:41:33 +0000 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id AD05F7A0106; Mon, 23 Jun 2025 15:41:31 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Mon, 23 Jun 2025 15:41:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; 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=fm3; t=1750707691; x=1750794091; bh=tol9UUMsSl3rMQrgpoXgg7lWykGSGoKR4Z3muTDTcUk=; b= cmRm2xBAyzF7OUOswQegq/XrSOQ9oKRb66ntS4VXhBW1Mn2CZmkh+3rEXB5cCZJM CW0GEgF64t377BzDpgKQJKqTbrnyLMuS41wntXfykJSHyep4S9Cz5uiAudqKGR7k SqEaq94gKRrW2tYRcCnrxsNyivBXQP/1iiSqKfjNuydnSaaB6gC5SRp1NSo1EZpZ CziK/yHeFqzlrlgSK6Gi1g9mXbaku7/MQP4d1xGA0JL00TJiGlM5ZY1+XrpB1jpT 4qg8MjqDHPgzCMjUMsNuWJYdXbepmkJxTFsv6qgxPVtBjA22Zkujh6BoDUk2rzAr 9duO40FHgsTKIVdfOwMkbQ== 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=fm1; t=1750707691; x=1750794091; bh=t ol9UUMsSl3rMQrgpoXgg7lWykGSGoKR4Z3muTDTcUk=; b=hb5bEW4TIoFPzmcIp Ub4o/xArZSi5pXIEk+Xlkcp4tyYqVqloKgYCrET0yIrQYFnc+VOXxXSu+8LWYsgh l8zqvQ/6noQRLq8c6ubKWkEhbSutjD5+Vu08Bv+CnGcNH5HCs7ZIKHyQqcgSf1iP Vz6wAD1HKpbnBnXXA01aZurGQEHuZMwVwDjIczZiApBCETAKcC3fjTk21C8ZdUEG KLDpcRL8YoeFB/y65zYeVT64blYCP1FYkHgaaqfauSTvwecWqWSswQeRqxgAbhh3 Y4EmRECIUDbRf0gykrgDEMoEnT1eqCL+/0Ciiww7Cz3rzu7Ahjz6C2hXPcLRibAd G+lCA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgddujeeklecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttd dvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghv vghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeduiefhiedtkeeuke ekffffgefgkeduudfhueeggeffhffgkeegveejleegfeegieenucffohhmrghinhepvghn thgvrhhprhhishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtgho mhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepsh hkhihlvghnuggrrheshigrhhhoohdrtghomhdprhgtphhtthhopehpghhsqhhlqdhgvghn vghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Jun 2025 15:41:31 -0400 (EDT) Message-ID: <3c1d7e6b-08ee-450b-8a9b-549b0c1c6f60@aklaver.com> Date: Mon, 23 Jun 2025 12:41:30 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: postgres module in msvc To: "C." , "pgsql-general@lists.postgresql.org" References: <1520758015.1643422.1750707170678.ref@mail.yahoo.com> <1520758015.1643422.1750707170678@mail.yahoo.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <1520758015.1643422.1750707170678@mail.yahoo.com> 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 On 6/23/25 12:32, C. wrote: > Hi there and thx for reading and answering if you can > > > A few years ago, I wrote a pg module in C on gcc/linux. This module > works fine, and I'm striving to port on windows postgres edb, I compiled > the corresponding .dll wirh both mingw54 and msvc 2022, but got postgres > crashes. > Crashes with what errors? > I also tried the recipe from > https://www.enterprisedb.com/blog/compiling-postgresql-extensions-visual-studio-windows. > > but no way. > > Do you have a better available example ? > > Thx again for reading > -- Adrian Klaver adrian.klaver@aklaver.com