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)
>
>