Arrays in pgsql

Поиск
Список
Период
Сортировка
Искать
От
Martina Mostert
Тема
Arrays in pgsql
Дата
Msg-id
3C835A7A.65F39384@gmx.de
Список
Дерево обсуждения
Re: Arrays in pgsql Martina Mostert <martina_mostert@gmx.de>
Hallo,
I'm working on a plpgsql-function. I need an array of type integer. The
Programmer's Guide says 'PL/pgSQL variables can have any SQL datatype',
so I'd say there should also be arrays - or am I wrong?

Therefore I've got the following line in my code:

monthday integer[12];

But when running I always get 'ERROR:  parse error at or near "["'. 

Any suggestions?

Martina
В списке pgsql-general по дате отправления
От: hubert depesz lubaczewski
Дата:
Сообщение: copying database?
От: Mark Rae
Дата:
FAQ