"Alejandro Michelin Salomon \( Adinet \)" <alejmsg@xxxxxxxxxxxxx> 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