On Sun, Jan 3, 2010 at 3:36 AM, Tom Hughes <[email protected]> wrote: > 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 ([email protected]) > http://www.compton.nu/ >
Thanks Tom, On my machine, I have both 8.1 and 8.3 installed, so I can guess it must using 8.1 for some reason. I'll look into it, and report solution back here in case someone else searches for this in the future. -- -- Sam Rose Social Synergy Tel:+1(517) 639-1552 Cel: +1-(517)-974-6451 skype: samuelrose email: [email protected] http://socialsynergyweb.com http://forwardfound.org http://socialsynergyweb.org/culturing http://flowsbook.panarchy.com/ http://socialmediaclassroom.com http://localfoodsystems.org http://notanemployee.net http://communitywiki.org "The universe is not required to be in perfect harmony with human ambition." - Carl Sagan _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

