Equivalent syntax of PL/SQL using array in PL/pgSQL

Поиск
Список
Период
Сортировка
От Dang Minh Huong
Тема Equivalent syntax of PL/SQL using array in PL/pgSQL
Дата
Msg-id 60033AA3-05A1-4394-8FEC-D1C3DCDDF74F@gmail.com
обсуждение исходный текст
Ответы Re: Equivalent syntax of PL/SQL using array in PL/pgSQL
Re: Equivalent syntax of PL/SQL using array in PL/pgSQL
Список pgsql-general
Hi all,

I am using PostgreSQL 9.1 and get a syntax error with the following PL/pgSQL clause.
Is there any equivalent syntax in PL/pgSQL to solve it.

------
rec typ[];
(typ[1]).t1 := 1;
------

typ is type which was created by command below.

Create type typ as(
t1 interger,
t2 text);

I am migrating data from Oracle to PostgreSQL and encounter this issue.

Thanks,
Huong,

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

Предыдущее
От: Alexander Farber
Дата:
Сообщение: Re: Tuning 9.3 for 32 GB RAM
Следующее
От: Elliot
Дата:
Сообщение: Re: Equivalent syntax of PL/SQL using array in PL/pgSQL