Can I specify a copying type for an array element

Поиск
Список
Период
Сортировка
От AlexK
Тема Can I specify a copying type for an array element
Дата
Msg-id 1393264503312-5793336.post@n5.nabble.com
обсуждение исходный текст
Список pgsql-sql
If I want to return the whole array from my function, I can specify
my_table.array_column%TYPE.
If my function returns an element, can I say something like
element_type(my_table.array_column%TYPE) when I declare the return type? 



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Can-I-specify-a-copying-type-for-an-array-element-tp5793336.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postgres behavior - Conditional statements
Следующее
От: David Johnston
Дата:
Сообщение: Re: Postgres behavior - Conditional statements