Arrays in pgsql

Поиск
Список
Период
Сортировка
От Martina Mostert
Тема Arrays in pgsql
Дата
Msg-id 3C835A7A.65F39384@gmx.de
обсуждение исходный текст
Ответы Re: Arrays in pgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
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
Дата:
Сообщение: Re: Aborting transaction on error