RE:Create type - Mailing list pgsql-general

From Renaud Tthonnart
Subject RE:Create type
Date
Msg-id 3A9B613F.74FF0AEA@amwdb.u-strasbg.fr
Whole thread Raw
In response to Create type  (Renaud Tthonnart <thonnart@amwdb.u-strasbg.fr>)
Responses Re: Create type
List pgsql-general
Richard Huxton wrote:

> From: "Renaud Tthonnart" <thonnart@amwdb.u-strasbg.fr>
>
> > If I can't use nested tables, how can I create a
> > type that will be a kind of  "dynamic list of structure".
>
> Sorry Renaud, I'm not sure it's clear what you're trying to do. Could
you
> post an example of what you're trying to achieve to the list? That'd
> probably help
>
> Ta
>
> - Richard Huxton

Ok. First I wanted to use nested tables. But I think it is not possible.

Then I decided to create
a type that will made the same function, a type that will be like a C
structure. This type would contain
an integer and a string like (1,'aaa'). Then I would have made a list or

an
array with this type.
Am I clear? Sorry if not, my English is poor.

Thank you for your help.
Renaud THONNART



pgsql-general by date:

Previous
From: Renaud Tthonnart
Date:
Subject: (no subject)
Next
From: "Eric G. Miller"
Date:
Subject: Re: Create type