Re: Does postgresql-odbc work on 64-bit platforms? - Mailing list pgsql-odbc

From Ludek Finstrle
Subject Re: Does postgresql-odbc work on 64-bit platforms?
Date
Msg-id 20051216132755.GC20814@soptik.pzkagis.cz
Whole thread Raw
In response to Re: Does postgresql-odbc work on 64-bit platforms?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-odbc
> >> I just had occasion to build 08.01.0102 on an x86_64 machine, and I
> >> noted quite a large number of warnings about "cast from pointer to
> >> integer of different size" and vice versa.  These are pretty scary.
>
> > If you can help (or can find some Redhat manpower) that would be
> > appreciated - I certainly don't have a 64 bit box right now and am

This is same problem for me. I have no 64 bit box right now :-(
Maybe I'll have access to linux box after Xmas (if I enforce dual
boot on new notebook).

> I've attached a list of the current warnings (current as of 08.01.0102
> sources).
>
> The two warnings in PGAPI_SetConnectOption definitely look like crash
> cases to me.  The others might be fixable by changing, eg,
>             if ((SQLUINTEGER) Value == SQL_OV_ODBC2)
> to
>             if (Value == (PTR) SQL_OV_ODBC2)

Thanks, this and the list help me a lot

Luf

pgsql-odbc by date:

Previous
From: Ludek Finstrle
Date:
Subject: Re: Next development steps?
Next
From: Ludek Finstrle
Date:
Subject: Re: Access violation C5 error on Visual FoxPro SQLEXEC() call after error