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 1qdC6x-002VsW-CQ for pgsql-odbc@arkaria.postgresql.org; Mon, 04 Sep 2023 16:07:35 +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 1qdC6v-00CxBc-Sq for pgsql-odbc@arkaria.postgresql.org; Mon, 04 Sep 2023 16:07:33 +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 1qdC6v-00CxBL-L4 for pgsql-odbc@lists.postgresql.org; Mon, 04 Sep 2023 16:07:33 +0000 Received: from pgintl.fastcrypt.com ([149.56.129.164]) by makus.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qdC6r-002i7A-Il for pgsql-odbc@postgresql.org; Mon, 04 Sep 2023 16:07:32 +0000 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) by pgintl.fastcrypt.com (Postfix) with ESMTPSA id 475C92031F for ; Mon, 4 Sep 2023 12:07:28 -0400 (EDT) Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-52bcd4db4c0so3493220a12.0 for ; Mon, 04 Sep 2023 09:07:28 -0700 (PDT) X-Gm-Message-State: AOJu0YxFSC5K4EmVMV/3QUj8ZBA4a1NM4os1ophsAUZtv0BslAO3eQgs VSEWC/uF7zv6xE1GKcmkOUAZgkbsaG2mVVSAfgY= X-Google-Smtp-Source: AGHT+IFbpT6lqPc7Q1qE7fnZ9aGy9pOYYTEULoI5MCAj3mt9nNuZ9EMqv7DHFPD5TleCOczQGg5h/b52U1cn1pL4D1E= X-Received: by 2002:a05:6402:40d5:b0:522:582f:91af with SMTP id z21-20020a05640240d500b00522582f91afmr13857895edb.9.1693843647101; Mon, 04 Sep 2023 09:07:27 -0700 (PDT) MIME-Version: 1.0 References: <5D27E7EF-BBA7-4A44-8FA5-17BAEFED6EB4@enterprisedb.com> In-Reply-To: From: Dave Cramer Date: Mon, 4 Sep 2023 12:07:09 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Psqlodbc build fails on linux To: Michael Paquier Cc: Moazzum Ali , pgsql-odbc@postgresql.org Content-Type: multipart/alternative; boundary="000000000000e4023a06048ab4a1" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000e4023a06048ab4a1 Content-Type: text/plain; charset="UTF-8" On Mon, 4 Sept 2023 at 10:23, Dave Cramer wrote: > > > On Sun, 3 Sept 2023 at 19:46, Michael Paquier wrote: > >> 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. >> > > I'm guessing this is a debian thing as I just built this successfully on a > redhat (ish) system > It pays to read all of the above before trying to replicate. I was building against 15, not 16 I see the failure now > > Dave > --000000000000e4023a06048ab4a1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, 4 Sept 2023 at 10:23, Dave Cr= amer <davecramer@postgres.rocks> wrote:

<= br>
On Sun,= 3 Sept 2023 at 19:46, Michael Paquier <michael@paquier.xyz> wrote:
On Thu, Aug 31, 2023 at 06:28:0= 6AM +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 <stdbool.h>

Wouldn't it be better to enforce an environment rule in psqlodbc.h
instead?=C2=A0 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.

= I'm guessing this is a debian thing as I just built this successfully o= n a redhat (ish) system=C2=A0

=
It pays to read all of the above before trying to replicate. I was bui= lding against 15, not 16
I see the failure now=C2=A0

Dave
--000000000000e4023a06048ab4a1--