Re: [HACKERS] processing of unknown datatype

2004-01-06 Thread Tom Lane
Dave Cramer <[EMAIL PROTECTED]> writes: > So how can I create a function that it will choose, the option of > casting is not available to me If the inputs are all unknown, I think your only choice is to not have more than one function of that name (and number of parameters). Otherwise the system s

Re: [HACKERS] processing of unknown datatype

2004-01-06 Thread Dave Cramer
So how can I create a function that it will choose, the option of casting is not available to me Dave On Tue, 2004-01-06 at 19:47, Tom Lane wrote: > Dave Cramer <[EMAIL PROTECTED]> writes: > > I have a function expecting a timestamp, cstring, cstring > > if I pass it a timestamp, unknown, unkown i

Re: [HACKERS] processing of unknown datatype

2004-01-06 Thread Dave Cramer
You are correct, it can't choose Dave On Tue, 2004-01-06 at 19:47, Tom Lane wrote: > Dave Cramer <[EMAIL PROTECTED]> writes: > > I have a function expecting a timestamp, cstring, cstring > > if I pass it a timestamp, unknown, unkown it works? > > if I pass it an unknown, unknown, unkown, it can't

Re: [HACKERS] processing of unknown datatype

2004-01-06 Thread Tom Lane
Dave Cramer <[EMAIL PROTECTED]> writes: > I have a function expecting a timestamp, cstring, cstring > if I pass it a timestamp, unknown, unkown it works? > if I pass it an unknown, unknown, unkown, it can't be found? You sure it's "can't find it" and not "can't choose among multiple functions of t

[HACKERS] processing of unknown datatype

2004-01-06 Thread Dave Cramer
How does the unknown data type get processed, there doesn't seem to be any casts for it? I have a function expecting a timestamp, cstring, cstring if I pass it a timestamp, unknown, unkown it works? if I pass it an unknown, unknown, unkown, it can't be found? Dave -- Dave Cramer 519 939 0336 IC