Arrays in pgsql - Mailing list pgsql-general

From Martina Mostert
Subject Arrays in pgsql
Date
Msg-id 3C835A7A.65F39384@gmx.de
Whole thread Raw
Responses Re: Arrays in pgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: copying database?
Next
From: Mark Rae
Date:
Subject: Re: Aborting transaction on error