Re: [SQL] Help in accessing array

2012-10-02 Thread David Johnston
> -Original Message- > From: pgsql-sql-ow...@postgresql.org [mailto:pgsql-sql- > ow...@postgresql.org] On Behalf Of mephysto > Sent: Thursday, September 27, 2012 6:12 AM > To: pgsql-sql@postgresql.org > Subject: [SQL] Help in accessing array > > Hi to everyone, &

[SQL] Help in accessing array

2012-10-02 Thread mephysto
Hi to everyone, I have a little problem to retrieve data from multidimensional array. For example, if I have this array foo[][] = {{5,3},{2,2}} how can I retrieve one of two internal array (for example I would to retrieve {5,3}? I tried foo[1:1] but the result is {{5,3}}, not {5,3}. Is a method