Re: long ints use for 4-byte entities in ODBC

Поиск
Список
Период
Сортировка
От Nick Gorham
Тема Re: long ints use for 4-byte entities in ODBC
Дата
Msg-id 3C21CE77.42B7419@easysoft.com
обсуждение исходный текст
Ответ на long ints use for 4-byte entities in ODBC  (Andrew Bell <acbell@iastate.edu>)
Список pgsql-hackers
Peter Harvey wrote:

> > I was installing the ODBC driver on an alpha box.  Problem is that there
> > are assumptions in the typedefs that a four byte integer is a "long
> > int".  Of course, this is often an incorrect assumption.  I can fix this,
> > but wanted to know how people wanted this done.  How do you handle this
> > issue in the server?  Seems confingure.in and associated files is the most
> > reasonable way to fix this to me.
>
> Also; which driver manager are you using? I think Nick Gorham has been
> working on this issue within unixODBC.
>
> Peter

AFAIK there should be nothing wrong with

typedef Int4 int

instead of the

typedef Int4 long

which is plainly wrong on 64 bit platforms.

--
Nick Gorham
Easysoft Ltd





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

Предыдущее
От: Karel Zak
Дата:
Сообщение: Re: tkConfig.sh vs. ./configure
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Thoughts on the location of configuration files