Passing composite types to plpgsql functions

Поиск
Список
Период
Сортировка
От Jeff Waugh
Тема Passing composite types to plpgsql functions
Дата
Msg-id 11b601c0d9b8$cfcb9750$0201a8c0@wilbur
обсуждение исходный текст
Ответы Re: Passing composite types to plpgsql functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
/doc/html/plpgsql-description.html states that:

"Parameters to a function can be composite types (complete table rows). In
that case, the corresponding identifier $n will be a rowtype, but it must be
aliased using the ALIAS command described above."

What syntax do I need in my function declaration to receive a parameter of
something%ROWTYPE ?

Thanks,
-Jeff



В списке pgsql-general по дате отправления:

Предыдущее
От: ryan@paymentalliance.net
Дата:
Сообщение: Re: Query not using index
Следующее
От: Bruce Momjian
Дата:
Сообщение: Upcoming PostgreSQL seminars