Ahh,
thanks. Was just looking at that.
Well I
always thought you could overload functions in this way, however with your
example below, although it creates it OK, PostgreSQL (not pgAdmin) gives the
error 'ERROR: There is more than one function named
textcat'.
As I
said, I'm pretty sure that you can overload functions (in fact I know you can -
there's one of mine in PostgreSQL 7.3!). I wonder if in this case the system
knows that it can implicitly cast the arguments of one function to the other and
hence the error is given?
Would
this be the case for your citext datatype?
Regards, Dave.
|
Title: Message
- [pgadmin-support] Overloading functions that are used by ope... Donald Fraser
- Re: [pgadmin-support] Overloading functions that are us... Andreas Pflug
- Re: [pgadmin-support] Overloading functions that are us... Dave Page
- Re: [pgadmin-support] Overloading functions that ar... Donald Fraser
- Fw: [pgadmin-support] Overloading functions that are us... Donald Fraser
- Re: [pgadmin-support] Overloading functions that are us... Dave Page
- Re: [pgadmin-support] Overloading functions that are us... Dave Page
- Re: [pgadmin-support] Overloading functions that ar... Donald Fraser
- Re: [pgadmin-support] Overloading functions that are us... Donald Fraser
- Re: [pgadmin-support] Overloading functions that are us... Dave Page