Re: BUG #4790: ENUM word not recognized! - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #4790: ENUM word not recognized!
Date
Msg-id 20090504165905.GE4476@alvh.no-ip.org
Whole thread Raw
In response to BUG #4790: ENUM word not recognized!  ("Piergiorgio Buongiovanni" <p.buongiovanni@net-international.com>)
List 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.

pgsql-bugs by date:

Previous
From: "Piergiorgio Buongiovanni"
Date:
Subject: BUG #4790: ENUM word not recognized!
Next
From: Dave Page
Date:
Subject: Re: BUG #4763: postgres service unstable, even during install