Re: User defined type with text* field - Mailing list pgsql-general

From Alex Pilosov
Subject Re: User defined type with text* field
Date
Msg-id Pine.BSO.4.10.10106301057350.7004-100000@spider.pilosoft.com
Whole thread Raw
In response to User defined type with text* field  (Ken K <kenmail@telocity.com>)
List pgsql-general
Not yet. :)

The best way to do it currently is to create a table with these fields,
it'll create a type (with the same name as table) automatically.

Why'd you want to do that anyway?

On 30 Jun 2001, Ken K wrote:

> Hi,
>
>  I am trying to create a user defined type with 2 fields
> in it, a text* and an Oid. I am not sure what size to
> use in the create type command. When I try variable
> the back end core dumps. Are there any examples for
> doing this sort of thing?  Is it even doable?
>
> Thanks,
>
> Ken
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>


pgsql-general by date:

Previous
From: Ken K
Date:
Subject: User defined type with text* field
Next
From: Tom Lane
Date:
Subject: Re: User defined type with text* field