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 1uTo1h-00ACB1-2Q for pgsql-general@arkaria.postgresql.org; Mon, 23 Jun 2025 20:44:25 +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 1uTo1d-006Z4X-OL for pgsql-general@arkaria.postgresql.org; Mon, 23 Jun 2025 20:44:22 +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 1uTo1c-006Z41-OA for pgsql-general@lists.postgresql.org; Mon, 23 Jun 2025 20:44:22 +0000 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uTo1b-003boW-1A for pgsql-general@postgresql.org; Mon, 23 Jun 2025 20:44:20 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 4EF5B1D00212; Mon, 23 Jun 2025 16:44:18 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Mon, 23 Jun 2025 16:44:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc: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=1750711458; x=1750797858; bh=wqd/STeB8IbU5y+udefNFcK5zOoKbl8B39EtJ6+H6zc=; b= Sa06YnZKYsFBJ5EVSGnw3dlaE6wgOduLDX0kgeoTOQMiOgBR3z8vXgKuFO86NZq3 p4SzzZDjKATXMKjCH2cu7CuzXGi3vr23TiLT/4CMRujIZXwHmZRmP5y4h8RjAn1N suvQqlT9I00hiQ2nMR9yBN0VayH0O92EBGKNEPOaUwFS4HqVU0tZCHZiiz3egJ75 xQNmGovDe7htLXCo5F0tftxADZ7HvHQqPacLnfx3LQFSfgH69043b9SQwEIwnu9m pti6MFmVEnrvEzrV+F0okNABkQbRsOEvZ7XAU11iAHdvT47qBZbn5Rg2iqMUSQdm HGuROUVOWOBdMYi1Kn4qyg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=1750711458; x= 1750797858; bh=wqd/STeB8IbU5y+udefNFcK5zOoKbl8B39EtJ6+H6zc=; b=b z27JDKufi7sw2rwHTsWKs678cMRwvuK86GAIlrarpLOChPFzFaZaIVMoSBvTKzUN A37DC3g8BmN+k8bSBc6BrRPgi1bzJXXasY2m8oj7RUrqcgK2/9l1Qg+pzWos+Rn+ iLtUaUs8yvT4Hza+QL+Xp1u9K8w1YdFlB2Tpl++genjCeQAzHlwoK0HGHhbq5iG4 +ntEAAuiwGVtD7CijpSkeIMJXV6vOaDsgyntiBKhvW8Z2iwIx0b3yqsXZJw2uQAR sVpdn3BwOOJU0s9lFS4wRMorvQ9Fl/Fe5Nr87wor+e/DOer6O8k3hao7w5zf0y38 +z2PTtlVKjb/yETOIH2+g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgddukedttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhevhfgjtgfgsehtkeertd dtvdejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgr vhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepuddtudekhedvue ekjeehhedtfeetffekveeiueffvdegffffkeegfeeffedtueeunecuffhomhgrihhnpegv nhhtvghrphhrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgt ohhmpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhope hskhihlhgvnhgurghrseihrghhohhordgtohhmpdhrtghpthhtohepphhgshhqlhdqghgv nhgvrhgrlhesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Jun 2025 16:44:17 -0400 (EDT) Message-ID: Date: Mon, 23 Jun 2025 13:44:16 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: postgres module in msvc To: "C." References: <1520758015.1643422.1750707170678.ref@mail.yahoo.com> <1520758015.1643422.1750707170678@mail.yahoo.com> <3c1d7e6b-08ee-450b-8a9b-549b0c1c6f60@aklaver.com> <1785618138.1672097.1750709998760@mail.yahoo.com> Content-Language: en-US Cc: pgsql-general From: Adrian Klaver In-Reply-To: <1785618138.1672097.1750709998760@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/23/25 13:19, C. wrote: Reply to list also. Ccing list. > I don't know. The postgres kernel crashes, not the client >  app. So does the Postgres log show anything? > On Monday, June 23, 2025 at 09:41:33 PM GMT+2, Adrian Klaver > wrote: > > > 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 > > -- Adrian Klaver adrian.klaver@aklaver.com