Re: drop enum problem - Mailing list pgsql-bugs

From Gavin Flower
Subject Re: drop enum problem
Date
Msg-id 4E7C0B69.709@archidevsys.co.nz
Whole thread Raw
In response to drop enum problem  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
List pgsql-bugs
On 23/09/11 10:43, Gavin Flower wrote:
> On a LInux 64 biut system:
>
> $ psql
> psql (9.1.0)
> Type "help" for help.
>
> gavin=> DROP TYPE raindow;
> ERROR:  type "raindow" does not exist
> gavin=> CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow',
> 'green', 'blue', 'purple');
> ERROR:  type "rainbow" already exists
> gavin=>
>
>
As soon as I saw this published, I saw my obvious mistake..

   DROP TYPE raindow;
                 *
CREATE TYPE rainbow AS ENUM ...

Sory, but my eyesight is very bad, so I did not see the mistake
initially!  :-(

pgsql-bugs by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Timezone issues with Postrres
Next
From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
Date:
Subject: Re: BUG #6218: TRAP: FailedAssertion( "!(owner->nsnapshots == 0)", File: "resowner.c", Line: 365)