Re: array variables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Cc: "Marcin Krawczyk" <jankes(dot)mk(at)gmail(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: array variables
Date: 2008-11-13 13:42:21
Message-ID: 5850.1226583741@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> writes:
> 2008/11/13 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>> Sure you can, if you're using a version new enough to have arrays of
>> composite types.

> I don't expect so user use devel version ;)

My example was done in 8.3.

> - and result is array of
> some composite type, not two dimensional array

Well, if the columns are of different types then you'll never be able to
represent them as a 2-D array, so I thought this was a more general answer.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Pavel Stehule 2008-11-13 13:47:05 Re: array variables
Previous Message Pavel Stehule 2008-11-13 13:16:04 Re: array variables