Re: Creating a function that acept any data type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Creating a function that acept any data type
Дата
Msg-id 14351.1142023485@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Creating a function that acept any data type  ("Alejandro Michelin Salomon \( Adinet \)" <alejmsg@adinet.com.uy>)
Список 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 по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Creating a function that acept any data type
Следующее
От: Emi Lu
Дата:
Сообщение: Re: in Pl/PgSQL, do commit every 5000 records