Re: [GENERAL] Creating a function that acept any data type

2006-03-10 Thread Tom Lane
"Alejandro Michelin Salomon \( Adinet \)" <[EMAIL PROTECTED]> writes: > Can you help-me to create a function that acept any data type ? Use ANYELEMENT, not ANY. Also I'd suggest making it a SQL function not a plpgsql function, so that it can be inlined. regards, tom lane

Re: [GENERAL] Creating a function that acept any data type

2006-03-10 Thread Michael Fuhr
On Fri, Mar 10, 2006 at 05:12:53PM -0300, Alejandro Michelin Salomon ( Adinet ) wrote: > I am working in a migration. Im am migrating systems based in mysql to > postgresql. > > I am trying to create a function named IFNULL, to not migrate any ocurrence > of this mysql function in my code. > > T