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 1tPhMm-00Ee5k-56 for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Dec 2024 12:16:56 +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 1tPhMl-00AnFJ-8W for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Dec 2024 12:16:55 +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 1tPhMk-00AnEO-Uz for pgsql-hackers@lists.postgresql.org; Mon, 23 Dec 2024 12:16:54 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tPhMi-000BBw-2x for pgsql-hackers@postgresql.org; Mon, 23 Dec 2024 12:16:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1734956210; bh=hnPE/LodmzWNwG4xoABGjZEYl6fvI6b/O+lvzITtpqI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID:From; b=bHAtdqZsIO7XodK9eVVCt8SST+XReQPGTb7sYO2CFjmIo3+ysFAL9QaWUb0fphqV2 W6eeoM6QqR1iM/aWL5lpKIXyD4esgcawMJnhNHJhBqWqkN6Uef3MI7zVGaUKONs2Tg ASogRvEyFR+UlBRAvZKFnE/PmwRgkGqk9X8gU6AwLF8BIyOFLjweF1WaM5dLBjpwnA cGZJtNYBAk3hSPh+udCBZTMI/75B5arpA80KHwfzwf1BxLh7tmnKnZ4IMZdxWbTnEa xuAvgwDGdq5oqCy7L0oTO7x54nhUkwyK6LtIbp/IhwUHXnIVzuHjH+48fTg3ON1jFy zT/bjFmtXfMLg== Received: from mail.postgrespro.ru (webmail-slave-mstn.l.postgrespro.ru [192.168.2.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: v.popolitov@postgrespro.ru) by mail.postgrespro.ru (Postfix/587) with ESMTPSA id 1BDEE60721; Mon, 23 Dec 2024 15:16:50 +0300 (MSK) MIME-Version: 1.0 Date: Mon, 23 Dec 2024 15:16:50 +0300 From: Vladlen Popolitov To: Heikki Linnakangas Cc: Michael Paquier , Andrew Kane , Nathan Bossart , Tom Lane , pgsql-hackers@postgresql.org Subject: Re: Exporting float_to_shortest_decimal_buf(n) with Postgres 17 on Windows In-Reply-To: References: <138233.1726261100@sss.pgh.pa.us> <1e2ba5ae7380fdb947e5bfcb6200063e@postgrespro.ru> Message-ID: X-Sender: v.popolitov@postgrespro.ru Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-KSMG-AntiPhishing: NotDetected, bases: 2024/12/23 11:26:00 X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.1.0.7854, bases: 2024/12/23 11:22:00 #26900310 X-KSMG-AntiVirus-Status: NotDetected, skipped X-KSMG-LinksScanning: not scanned, disabled by settings X-KSMG-Message-Action: skipped X-KSMG-Rule-ID: 1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Vladlen Popolitov писал(а) 2024-12-23 15:14: > Yes, it is also working option. I applied it and tested in the current > master under Windows, > it works. > > Attached patch changes this line in meson.build >> link_with: cflag_libs, >> + link_whole: cflag_libs, >> c_pch: pch_c_h, I also created entry in the commit fest with this patch https://commitfest.postgresql.org/51/5457/ -- Best regards, Vladlen Popolitov.