Re: ODBC int2 parameters to pg function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ODBC int2 parameters to pg function
Дата
Msg-id 23591.1079288691@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ODBC int2 parameters to pg function  ("Gary Doades" <gpd@gpdnet.co.uk>)
Ответы Re: ODBC int2 parameters to pg function  ("Gary Doades" <gpd@gpdnet.co.uk>)
Список pgsql-odbc
"Gary Doades" <gpd@gpdnet.co.uk> writes:
> AFAICS it is only int2 types that are not typecast. All other
> datatypes (except string and int4 which don't need it) are typecast
> explicitly by the driver before being passed to the server.

I see.  AFAIR you hadn't mentioned that you were declaring the parameter
as smallint to ODBC.  I tend to agree that a cast should be added in
that case.  It's not my code though ...

            regards, tom lane

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

Предыдущее
От: "Gary Doades"
Дата:
Сообщение: Re: ODBC int2 parameters to pg function
Следующее
От: "Gary Doades"
Дата:
Сообщение: Re: ODBC int2 parameters to pg function