Re: ODBC int2 parameters to pg function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ODBC int2 parameters to pg function
Дата
Msg-id 23185.1079285409@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:
> I can cast inside the function, this is my current solution. Given that
> there is no implicit downcast wouldn't the best solution be to get the
> ODBC driver do the cast on the function call?

I think that would likely fix this example at the cost of breaking many
others.  Exactly what conditions would you have the ODBC driver cast to
int2 under?

            regards, tom lane

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

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