From: Gavin Flower <GavinFlower@archidevsys.co.nz>
To: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: drop enum problem
Date: Fri, 23 Sep 2011 16:30:33 +1200
Message-ID: <4E7C0B69.709@archidevsys.co.nz> (raw)
In-Reply-To: <4E7BBA21.4050200@archidevsys.co.nz>
References: <4E7BBA21.4050200@archidevsys.co.nz>
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! :-(
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: GavinFlower@archidevsys.co.nz
Subject: Re: drop enum problem
In-Reply-To: <4E7C0B69.709@archidevsys.co.nz>
References: <4E7BBA21.4050200@archidevsys.co.nz> <4E7C0B69.709@archidevsys.co.nz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox