Обсуждение: int64 and spi_getbinval bug !?

Поиск
Список
Период
Сортировка

int64 and spi_getbinval bug !?

От
Germán Aracil Boned
Дата:
Hi

My version of postgresql is:
PostgreSQL 8.0.4 on i486-pc-linux-gnu, compiled by GCC cc (GCC) 4.0.3
20051201 (prerelease) (Debian 4.0.2-5)

I don't cat get real value of int64 fields. spi_get_binval return wrong
values. But it works with int32.

best regards


Re: int64 and spi_getbinval bug !?

От
Alvaro Herrera
Дата:
Germán Aracil Boned wrote:

> My version of postgresql is:
> PostgreSQL 8.0.4 on i486-pc-linux-gnu, compiled by GCC cc (GCC) 4.0.3
> 20051201 (prerelease) (Debian 4.0.2-5)

You should update to 8.0.8 ...

> I don't cat get real value of int64 fields. spi_get_binval return wrong
> values. But it works with int32.

Maybe you put wrong values in the attrs.  How would we know if you
haven't shown us any code?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support