Re: ODBC int2 parameters to pg function - Mailing list pgsql-odbc

From Tom Lane
Subject Re: ODBC int2 parameters to pg function
Date
Msg-id 23185.1079285409@sss.pgh.pa.us
Whole thread Raw
In response to Re: ODBC int2 parameters to pg function  ("Gary Doades" <gpd@gpdnet.co.uk>)
Responses Re: ODBC int2 parameters to pg function
List 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 by date:

Previous
From: "Gary Doades"
Date:
Subject: Re: ODBC int2 parameters to pg function
Next
From: "Gary Doades"
Date:
Subject: Re: ODBC int2 parameters to pg function