public inbox for [email protected]  
help / color / mirror / Atom feed
From: Moazzum Ali <[email protected]>
To: Dave Cramer <[email protected]>
Cc: Michael Paquier <[email protected]>
Cc: [email protected]
Subject: Re: Psqlodbc build fails on linux
Date: Mon, 4 Sep 2023 22:55:50 +0500
Message-ID: <CAG16KLW7b_=+JRh4FjDAAq1UPPcHgbG_wJDpDUh5m75mVR9jcg@mail.gmail.com> (raw)
In-Reply-To: <CADK3HHK0afa72Y-1QJ2bKE3GVB4vALM21aRERGjO_rrNU5rcRQ@mail.gmail.com>
References: <[email protected]>
	<ZPUatGNtOSe/[email protected]>
	<CADK3HHLovT+PAnGc3SgoFSY7R+qQsJ6iTX=MOML+otnZzMZ5Yw@mail.gmail.com>
	<CADK3HHL5kLg77AAes0G16K9Ueuhao+5wd=4=Bjv2sfOaoOWYjg@mail.gmail.com>
	<CAG16KLWVS67i+-n6zzs9TtFer8uWM-Ch4JzXeRGqEJuJTg8WPA@mail.gmail.com>
	<CADK3HHK0afa72Y-1QJ2bKE3GVB4vALM21aRERGjO_rrNU5rcRQ@mail.gmail.com>

Thanks Dave and Michael.

On Mon, Sep 4, 2023, 10:54 PM Dave Cramer <[email protected]> wrote:

> Seems like the better solution is to use Michael's suggestion as that is
> what PG does.
>
> Dave Cramer
> www.postgres.rocks
>
>
> On Mon, 4 Sept 2023 at 12:28, Moazzum Ali <[email protected]>
> wrote:
>
>> Dave,
>>
>> Is it something that can be fixed on PG or psqlodbc side or you would
>> also suggest what Michael suggested? I have tried that environment rule
>> though and it works.
>>
>> Thanks,
>> Moazzum
>>
>> On Mon, Sep 4, 2023, 9:07 PM Dave Cramer <[email protected]>
>> wrote:
>>
>>>
>>>
>>> On Mon, 4 Sept 2023 at 10:23, Dave Cramer <[email protected]>
>>> wrote:
>>>
>>>>
>>>>
>>>> On Sun, 3 Sept 2023 at 19:46, Michael Paquier <[email protected]>
>>>> 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 <stdbool.h>
>>>>>
>>>>> 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
>>>>
>>>


view thread (9+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Psqlodbc build fails on linux
  In-Reply-To: <CAG16KLW7b_=+JRh4FjDAAq1UPPcHgbG_wJDpDUh5m75mVR9jcg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox