Re: processing of unknown datatype

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pg(at)fastcrypt(dot)com
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: processing of unknown datatype
Date: 2004-01-07 04:12:20
Message-ID: 14839.1073448740@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dave Cramer <pg(at)fastcrypt(dot)com> 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 simply doesn't have a basis for making a choice.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex J. Avriette 2004-01-07 04:25:55 Re: Brokenness in parsing of pg_hba.conf
Previous Message Andrew Dunstan 2004-01-07 03:52:19 Re: Brokenness in parsing of pg_hba.conf