Re: How do I do this in plpgsql ?

Поиск
Список
Период
Сортировка
От Vibhor Kumar
Тема Re: How do I do this in plpgsql ?
Дата
Msg-id 1C9D03B8-8CCF-4A9A-A078-E8E26851B0B9@enterprisedb.com
обсуждение исходный текст
Ответ на How do I do this in plpgsql ?  (Dan S <strd911@gmail.com>)
Список pgsql-general
On Mar 19, 2011, at 12:50 AM, Dan S wrote:

>
> For example if I have a type sample%TYPE
> How can I declare a variable that is an array of sample%TYPE
> I can't get it to work, is there a way to do it ?


Nope, there is no way. However, you can create a userdefined type and can also use array of that
http://www.postgresql.org/docs/8.4/static/sql-createtype.html

Thanks & Regards,
Vibhor Kumar
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
vibhor.kumar@enterprisedb.com
Blog:http://vibhork.blogspot.com


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

Предыдущее
От: Vibhor Kumar
Дата:
Сообщение: Re: Insert value input syntax of an array of types without ARRAY/ROW nor casting?
Следующее
От: Bosco Rama
Дата:
Сообщение: WAL shipping replication server re-sync