[OSM-dev] Rails port install issue with Rake

Tom Hughes tom at compton.nu
Sun Jan 3 08:36:50 GMT 2010


On 03/01/10 01:58, Samuel Rose wrote:

> ==  AddRelations: migrating ===================================================
> -- create_enumeration(:nwr_enum, ["Node", "Way", "Relation"])
> rake aborted!
> An error has occurred, this and all later migrations canceled:
>
> PGError: ERROR:  syntax error at or near "enum" at character 25
> : create type nwr_enum as enum ('Node','Way','Relation')
>
>
> Wonder if any of your might have some clues?

What version of Postgres are you using? I think you need 8.3 or later 
for enums so I'm guessing it may be earlier than that?

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list