From: Walt H <waltabbyh@comcast.net>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Error in convert.c when compiling w/ odbcver=0x0300
Date: Fri, 24 Oct 2003 07:11:40 -0700
Message-ID: <3F99331C.7070804@comcast.net> (raw)
In-Reply-To: <200310240230.h9O2UmG25354@candle.pha.pa.us>
References: <200310240230.h9O2UmG25354@candle.pha.pa.us>
Bruce Momjian wrote:
> Can you suggest a patch to fix this?
>
> ---------------------------------------------------------------------------
>
I'm sorry, it's been a while since I posted this. I found a workaround and was able to get it
compile since then. From what I remember, it has to do with the way SQLBIGINT was defined from
unixodbc. I believe it is defined as en element of a struct, which created the "incompatible
types" error I received. Since I'm not all too familiar with C, I cheated and created:
typedef long long int mySQLBIGINT;
typedef unsigned mySQLBIGINT mySQLUBIGINT;
at the top of convert.c and replaced the variables used down below with mySQLBIGINT etc... This
allows it to compile. What a nasty hack.
So to answer your original question: I don't think you want my patch :)
-Walt
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: waltabbyh@comcast.net, pgman@candle.pha.pa.us
Subject: Re: Error in convert.c when compiling w/ odbcver=0x0300
In-Reply-To: <3F99331C.7070804@comcast.net>
References: <200310240230.h9O2UmG25354@candle.pha.pa.us> <3F99331C.7070804@comcast.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox