pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
drop enum problem
3+ messages / 2 participants
[nested] [flat]

* drop enum problem
@ 2011-09-22 22:43 Gavin Flower <GavinFlower@archidevsys.co.nz>
  2011-09-23 04:30 ` Re: drop enum problem Gavin Flower <GavinFlower@archidevsys.co.nz>
  2011-09-23 04:32 ` Re: drop enum problem John R Pierce <pierce@hogranch.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Gavin Flower @ 2011-09-22 22:43 UTC (permalink / raw)
  To: pgsql-bugs

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




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: drop enum problem
  2011-09-22 22:43 drop enum problem Gavin Flower <GavinFlower@archidevsys.co.nz>
@ 2011-09-23 04:30 ` Gavin Flower <GavinFlower@archidevsys.co.nz>
  1 sibling, 0 replies; 3+ messages in thread

From: Gavin Flower @ 2011-09-23 04:30 UTC (permalink / raw)
  To: 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!  :-(

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: drop enum problem
  2011-09-22 22:43 drop enum problem Gavin Flower <GavinFlower@archidevsys.co.nz>
@ 2011-09-23 04:32 ` John R Pierce <pierce@hogranch.com>
  1 sibling, 0 replies; 3+ messages in thread

From: John R Pierce @ 2011-09-23 04:32 UTC (permalink / raw)
  To: pgsql-bugs

On 09/22/11 3:43 PM, Gavin Flower wrote:
> 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 

PEBCAK.

drop type rainDow
create type rainBow ....



-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2011-09-23 04:32 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-09-22 22:43 drop enum problem Gavin Flower <GavinFlower@archidevsys.co.nz>
2011-09-23 04:30 ` Gavin Flower <GavinFlower@archidevsys.co.nz>
2011-09-23 04:32 ` John R Pierce <pierce@hogranch.com>

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