Re: PL/PGSQL Record type question

From: imad <immaad(at)gmail(dot)com>
To: Gábriel Ákos <akos(dot)gabriel(at)i-logic(dot)hu>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: PL/PGSQL Record type question
Date: 2007-05-11 14:09:07
Message-ID: 1f30b80c0705110709u73519990gd6623c6a4c81ee55@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

You might be looking for PostgreSQL RECORD data type.

--Imad
www.EnterpriseDB.com

On 5/11/07, Gábriel Ákos <akos(dot)gabriel(at)i-logic(dot)hu> wrote:
> Hi,
>
> How should I define a record type (there is no table with this record
> type) programmatically in pl/pgsql?
> I'd like to return a record with 3 string elements, 2 integers and 1
> date.
>
> Rgds,
> Akos
>
>
>
> --
> Üdvözlettel,
> Gábriel Ákos
> -=E-Mail :akos(dot)gabriel(at)i-logic(dot)hu|Web: http://www.i-logic.hu =-
> -=Tel/fax:+3612367353 |Mobil:+36209278894 =-
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Gábriel Ákos 2007-05-11 14:42:42 Re: PL/PGSQL Record type question
Previous Message Gábriel Ákos 2007-05-11 14:00:37 PL/PGSQL Record type question