Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group