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 1qcwnB-001enV-58 for pgsql-odbc@arkaria.postgresql.org; Sun, 03 Sep 2023 23:46:09 +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 1qcwn9-006lNa-WB for pgsql-odbc@arkaria.postgresql.org; Sun, 03 Sep 2023 23:46:07 +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 1qcwn9-006lMk-O2 for pgsql-odbc@lists.postgresql.org; Sun, 03 Sep 2023 23:46:07 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qcwn3-002aAo-Sl for pgsql-odbc@postgresql.org; Sun, 03 Sep 2023 23:46:06 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4D5D95C0040; Sun, 3 Sep 2023 19:46:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 03 Sep 2023 19:46:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1693784761; x=1693871161; bh=Tt 2HUez9jcDlTssqsjTgxqyAw3DqEaA1vi5e6toIXkc=; b=hUZzu5PKDFEN/DcWLs XFx+FaIrPFAg4iFz6Dnwx5culvxDm1wuuwwZGnv+9deSWm/7/2rBmME1dY+RGgU7 aL3rg5goTLv/p+P0uRjweUV1sEre1H/N2pYHlKkcOOc+5cBNe0iAgcHys6D0LfmE Dyr7sf71ZGTITUM7h5uZH7shFpBClxxhQjCNIEZpT+7Pt8gafGxEiJNBPojTNRHA l4yQi/5srURj5zJMjVODGhCksCqxVYiKEjSzEwCz+BWS4MG69CATOAx/bBnmDfHZ 17YSfZU/ml8/tTPRbIbznM6iXHyytUvS0890OGcCtKtNbldwkdklXI4g611co1GB ydEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1693784761; x=1693871161; bh=Tt2HUez9jcDlT ssqsjTgxqyAw3DqEaA1vi5e6toIXkc=; b=vDOlVnZnDCjq9rtQb0YmY94HhZRnZ a9QnILELkrusuNTs6ApuAqaaVP78X4R0RkaF8Tf0dHFJF15mNafbTSVBxiOoxMRp rgAq72JiQBnL93LwTFtY/BwCEe+s36gQGlkcq32misQnx/h2n0yXA3r9WqBBkb/B rGNU+llv6km4AUGFveyVWUhwj72SBF74iG/FRHVr1DnkdckKAAEeqMYKvuBjlpbT XWPEeuooCnP3Qcp8Jn/SubImGfgFQL/BoYrDFKASVH/GSqkDWw9xIMPjBlJB7MmC wO77ADlSurDy2VLrY9/bJYrokH2N/3t/N3p+eng117pNjvsYLFYDC980Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudegjedgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 3 Sep 2023 19:45:59 -0400 (EDT) Date: Mon, 4 Sep 2023 08:45:56 +0900 From: Michael Paquier To: Moazzum Ali Cc: pgsql-odbc@postgresql.org Subject: Re: Psqlodbc build fails on linux Message-ID: References: <5D27E7EF-BBA7-4A44-8FA5-17BAEFED6EB4@enterprisedb.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2g4lna03MGX2X46x" Content-Disposition: inline In-Reply-To: <5D27E7EF-BBA7-4A44-8FA5-17BAEFED6EB4@enterprisedb.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --2g4lna03MGX2X46x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 31, 2023 at 06:28:06AM +0500, Moazzum Ali wrote: > One way to fix the error is to include the following line before > #include "pqexpbuffer.h" in connection.h and statement.h > #include Wouldn't it be better to enforce an environment rule in psqlodbc.h instead? PostgreSQL enforces PG_USE_STDBOOL already on Windows, and I am pretty sure that it would be OK to do the same in other *nix places where anybody cares about ODBC. -- Michael --2g4lna03MGX2X46x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmT1GrQACgkQnvQgOdby QH2VIRAAmL7wcv3yMxSYFzhuPtILpiRCWk5eXBT/7WQHwxcEM6IBP7ar1u9wirjq 6ENX1Duf9tMQc7SEL+sLOIpzw5ztCZbDC8InMxmKIM/P7CfRMlE+xurA4sSw5hCd wgYBSg5BHib6T9kFVFC1CykS9pFsz5ZLNSUop6H+O+/Ee4r6RFkGIXMwJLbpwFGn g88Nf1GOBtp1YQKfKpFOF8be1NBIaoaiReW1hfxrCdp6FIpzm8h34El49Zy7JCJ2 PJ8NzokpSx5RP47FBuIgqybahGZNkvukIIqykZmpMpQqDgMOAM6Hf9k3F7+UlhO8 dCIQvpL3bi5ilSrz1aRQvps5mk2BqJJ3M36oD6R9HTit2HOYsAYl4xDy3IvXBi7B BXM26PM54APNtL3mIxc+KsvhBCHgHClq3iGyoFFaGUt73xMi+48UYgKYxUz4jmhJ MdMFRd/7CmNKOnY0MYTvhYGmhPNLqEFxYdpM3ysQKMuqrhWCfGdn0Wpepp32VQxf d31OrT/h6Vbf/EwlufnRBC6kjVnRziUVV0SNUmVCtEwM6BZf81TxNjhte3Q1MJov dvKCNm6yQW32rRiCUzSUzezsES+Lfm0G2dbwvTwj8mLHAtm791Zr8W/jOviWAO0m witWol6on40TTGdWlVnXRXzGO+CqfY8pf1DMXvSKQUlQ2N4bjPk= =qUB4 -----END PGP SIGNATURE----- --2g4lna03MGX2X46x--