Re: Psqlodbc build fails on linux

Поиск
Список
Период
Сортировка
От Moazzum Ali
Тема Re: Psqlodbc build fails on linux
Дата
Msg-id CAG16KLWVS67i+-n6zzs9TtFer8uWM-Ch4JzXeRGqEJuJTg8WPA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Psqlodbc build fails on linux  (Dave Cramer <davecramer@postgres.rocks>)
Список pgsql-odbc
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 <davecramer@postgres.rocks> wrote:


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


On Sun, 3 Sept 2023 at 19:46, Michael Paquier <michael@paquier.xyz> 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

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Psqlodbc build fails on linux
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Psqlodbc build fails on linux