Re: BUG #4790: ENUM word not recognized!

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Piergiorgio Buongiovanni <p(dot)buongiovanni(at)net-international(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4790: ENUM word not recognized!
Date: 2009-05-04 16:59:05
Message-ID: 20090504165905.GE4476@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Piergiorgio Buongiovanni wrote:

> I'm using Query Tool of pgAdmin III and trying to execute this:
>
> CREATE TYPE business.EuropeanCEFLevel AS ENUM
> ('A1','A2','B1','B2','C1','C2');
>
> but the following error is raised:
>
> ERROR: syntax error at or near "ENUM"
> LINE 1: CREATE TYPE "business.EuropeanCEFLevel" AS ENUM ('A1','A2','...

You need 8.3 for this to work.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Dave Page 2009-05-04 18:10:12 Re: BUG #4763: postgres service unstable, even during install
Previous Message Piergiorgio Buongiovanni 2009-05-04 15:58:54 BUG #4790: ENUM word not recognized!