Declaring multidimensional arrays in pl/pgsql - Mailing list pgsql-general

From Max Zorloff
Subject Declaring multidimensional arrays in pl/pgsql
Date
Msg-id op.t2joq1hill0p5y@1-rtt202dnf3uds.mshome.net
Whole thread Raw
Responses Re: Declaring multidimensional arrays in pl/pgsql  ("Rodrigo De León" <rdeleonp@gmail.com>)
List pgsql-general
Hi, all.

I was wondering, can I really declare a 2-dimensional array of arbitrary
size in pl/pgsql?
According to the docs it seems that only way would be to declare it as
something like :
myArray := ARRAY[[1,2], [3,4], [5,6]];

But what if I pass the dimensions as function parameters?

My postgresql version is 8.1.

Thanks.

pgsql-general by date:

Previous
From: Shane Ambler
Date:
Subject: Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin
Next
From: Pedro Doria Meunier
Date:
Subject: test message