Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B821BB5DBDA for ; Fri, 23 Sep 2011 01:32:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 70045-03 for ; Fri, 23 Sep 2011 04:32:13 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from hogranch.com (hogranch.com [75.101.82.47]) by mail.postgresql.org (Postfix) with ESMTP id 59C8FB5DBD1 for ; Fri, 23 Sep 2011 01:32:13 -0300 (ADT) Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id p8N4W5V06759 for ; Thu, 22 Sep 2011 21:32:05 -0700 Message-ID: <4E7C0BC5.9080207@hogranch.com> Date: Thu, 22 Sep 2011 21:32:05 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: drop enum problem References: <4E7BBA21.4050200@archidevsys.co.nz> In-Reply-To: <4E7BBA21.4050200@archidevsys.co.nz> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/156 X-Sequence-Number: 31173 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