Re: ODBC int2 parameters to pg function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Gary Doades" <gpd(at)gpdnet(dot)co(dot)uk>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: ODBC int2 parameters to pg function
Date: 2004-03-14 17:30:09
Message-ID: 23185.1079285409@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

"Gary Doades" <gpd(at)gpdnet(dot)co(dot)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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Gary Doades 2004-03-14 18:18:39 Re: ODBC int2 parameters to pg function
Previous Message Gary Doades 2004-03-14 10:03:08 Re: ODBC int2 parameters to pg function