Re: Arrays

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Conrado Blasetti <conrado(at)mapfre(dot)com(dot)ar>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Arrays
Date: 2005-10-07 19:09:11
Message-ID: 20051007190911.GA12238@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Fri, Oct 07, 2005 at 04:03:51PM -0300, Conrado Blasetti wrote:
> Buenas tardes.
>
> Como puedo declarar un array en el cual pueda almacenar datos de distinto
> tipo?

De ninguna manera. Puedes usar un registro en cambio.

select ROW(1,'foo',2);

--
Alvaro Herrera Valdivia, Chile ICBM: S 39º 49' 17.7", W 73º 14' 26.8"
"Before you were born your parents weren't as boring as they are now. They
got that way paying your bills, cleaning up your room and listening to you
tell them how idealistic you are." -- Charles J. Sykes' advice to teenagers

In response to

  • Arrays at 2005-10-07 19:03:51 from Conrado Blasetti

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Conrado Blasetti 2005-10-07 19:15:41 RE: Arrays
Previous Message Conrado Blasetti 2005-10-07 19:03:51 Arrays