Re: [PATCHES] [PATCH] WIP: Create shell-types explicitly

2006-02-20 Thread Tom Lane
Martijn van Oosterhout writes: > On Mon, Feb 20, 2006 at 10:13:39AM -0500, Tom Lane wrote: >> Martijn van Oosterhout writes: >>> The first line creates public.text, but the drop tries to delete >>> pg_catalog.text. >> >> This is not particularly specific to (or relevant to) shell types. > So thi

Re: [PATCHES] [PATCH] WIP: Create shell-types explicitly

2006-02-20 Thread Martijn van Oosterhout
On Mon, Feb 20, 2006 at 10:13:39AM -0500, Tom Lane wrote: > Martijn van Oosterhout writes: > > The first line creates public.text, but the drop tries to delete > > pg_catalog.text. > > This is not particularly specific to (or relevant to) shell types. So this is not a show stopper and not someth

Re: [PATCHES] [PATCH] WIP: Create shell-types explicitly

2006-02-20 Thread Tom Lane
Martijn van Oosterhout writes: > The first line creates public.text, but the drop tries to delete > pg_catalog.text. This is not particularly specific to (or relevant to) shell types. regards, tom lane ---(end of broadcast)

[PATCHES] [PATCH] WIP: Create shell-types explicitly

2006-02-20 Thread Martijn van Oosterhout
[Please CC any replies, thanks] Persuant to the recent discussion, here is a patch to allow users to create shell types by using the symtax: CREATE TYPE foo; It was actually much easier than I thought given that normal type creation creates a shell type just before creating the real type. This m