Re: Creating a function that acept any data type - Mailing list pgsql-general

From Tom Lane
Subject Re: Creating a function that acept any data type
Date
Msg-id 14351.1142023485@sss.pgh.pa.us
Whole thread Raw
In response to Creating a function that acept any data type  ("Alejandro Michelin Salomon \( Adinet \)" <alejmsg@adinet.com.uy>)
List pgsql-general
"Alejandro Michelin Salomon \( Adinet \)" <alejmsg@adinet.com.uy> 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

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Creating a function that acept any data type
Next
From: Emi Lu
Date:
Subject: Re: in Pl/PgSQL, do commit every 5000 records